You need to sign in or sign up before continuing.
提交 994ea046 编写于 作者: D David Knell 提交者: Zheng Zengkai

Overlays for PiFi-Mini amp

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------
Signed-off-by: NDavid Knell <david.knell@gmail.com>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 c3e8fe86
...@@ -130,6 +130,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \ ...@@ -130,6 +130,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
pibell.dtbo \ pibell.dtbo \
pifacedigital.dtbo \ pifacedigital.dtbo \
pifi-40.dtbo \ pifi-40.dtbo \
pifi-mini-210.dtbo \
piglow.dtbo \ piglow.dtbo \
piscreen.dtbo \ piscreen.dtbo \
piscreen2r.dtbo \ piscreen2r.dtbo \
......
...@@ -2131,6 +2131,12 @@ Load: dtoverlay=pifi-40 ...@@ -2131,6 +2131,12 @@ Load: dtoverlay=pifi-40
Params: <None> Params: <None>
Name: pifi-mini-210
Info: Configures the PiFi Mini stereo amplifier
Load: dtoverlay=pifi-mini-210
Params: <None>
Name: piglow Name: piglow
Info: Configures the PiGlow by pimoroni.com Info: Configures the PiGlow by pimoroni.com
Load: dtoverlay=piglow Load: dtoverlay=piglow
......
// Definitions for PiFi Mini 210
/dts-v1/;
/plugin/;
/ {
compatible = "brcm,bcm2835";
fragment@0 {
target = <&i2s>;
__overlay__ {
status = "okay";
};
};
fragment@1 {
target = <&i2c1>;
__overlay__ {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
tas5711@1a {
#sound-dai-cells = <0>;
compatible = "ti,tas5711";
reg = <0x1a>;
status = "okay";
pdn-gpios = <&gpio 23 1>;
reset-gpios = <&gpio 24 1>;
};
};
};
fragment@2 {
target = <&sound>;
__overlay__ {
compatible = "pifi,pifi-mini-210";
i2s-controller = <&i2s>;
status = "okay";
};
};
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册