Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411572
| From | Gerd Hoffmann <kraxel@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 29/32] ARM: bcm2835: Use i2c-gpio for the expander, instead. |
| Date | 2016-06-01 23:50 +0200 |
| Message-ID | <rFmbx-5DL-63@gated-at.bofh.it> (permalink) |
| References | <rFmbv-5DL-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Eric Anholt <eric@anholt.net>
I'm seeing a ton of CLKT errors from i2c-bcm2835.c, and haven't
figured out a cause.
Signed-off-by: Eric Anholt <eric@anholt.net>
Conflicts:
arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
---
arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 32 ++++++++++++------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
index 4bc191e..202e8c3 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
@@ -23,6 +23,22 @@
linux,default-trigger = "default-on";
};
};
+
+ i2c_gpio {
+ compatible = "i2c-gpio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ gpios = <&gpio 44 0
+ &gpio 45 0>;
+
+ gpio_expander: gpio@43 {
+ gpio-controller;
+ #gpio-cells = <2>;
+ reg = <0x43>;
+ compatible = "fcs,fxl6408";
+ };
+ };
};
&i2s {
@@ -39,19 +55,3 @@
&hdmi {
hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
};
-
-/* Connect the GPIO expander to I2C1 */
-&i2c0 {
- pinctrl-names = "default";
- pinctrl-0 = <&i2c0_gpio44>;
-
- gpio_expander: gpio@43 {
- gpio-controller;
- #gpio-cells = <2>;
- reg = <0x43>;
- compatible = "fcs,fxl6408";
- };
-};
-
-bt {
-};
--
1.8.3.1
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 29/32] ARM: bcm2835: Use i2c-gpio for the expander, instead. Gerd Hoffmann <kraxel@redhat.com> - 2016-06-01 23:50 +0200
csiph-web