Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1486645 > unrolled thread

[PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408.

Started byEric Anholt <eric@anholt.net>
First post2016-09-19 18:20 +0200
Last post2016-09-23 11:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408. Eric Anholt <eric@anholt.net> - 2016-09-19 18:20 +0200
    Re: [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to  the FXL6408. Gerd Hoffmann <kraxel@redhat.com> - 2016-09-22 22:50 +0200
      Re: [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to  the FXL6408. Linus Walleij <linus.walleij@linaro.org> - 2016-09-23 11:30 +0200

#1486645 — [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408.

FromEric Anholt <eric@anholt.net>
Date2016-09-19 18:20 +0200
Subject[PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408.
Message-ID<sj9st-7HE-21@gated-at.bofh.it>
This gets us hotplug detection of HDMI, so that graphics now works at
boot.  Tested with watching the output of xrandr while plugging and
unplugging the HDMI cable.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

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 7841b724e340..2460b47737e9 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
+++ b/arch/arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts
@@ -23,8 +23,25 @@
 			linux,default-trigger = "default-on";
 		};
 	};
+
+	soc {
+		fxl6408: firmware-gpio-128 {
+			compatible = "raspberrypi,firmware-gpio";
+			gpio-controller;
+			#gpio-cells = <2>;
+			firmware = <&firmware>;
+			ngpios = <8>;
+			gpio-line-names = "BT_ON", "WL_ON", "", "LAN_RUN", "HPD_N", "CAM_GPIO0", "CAM_GPIO1", "PWR_LOW_N";
+
+			raspberrypi,firmware-gpio-offset = <128>;
+		};
+	};
 };
 
 &uart1 {
 	status = "okay";
 };
+
+&hdmi {
+	hpd-gpios = <&fxl6408 4 GPIO_ACTIVE_HIGH>;
+};
-- 
2.9.3

[toc] | [next] | [standalone]


#1489530 — Re: [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408.

FromGerd Hoffmann <kraxel@redhat.com>
Date2016-09-22 22:50 +0200
SubjectRe: [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408.
Message-ID<skj6p-2Gg-7@gated-at.bofh.it>
In reply to#1486645
On Mo, 2016-09-19 at 17:13 +0100, Eric Anholt wrote:
> This gets us hotplug detection of HDMI, so that graphics now works at
> boot.  Tested with watching the output of xrandr while plugging and
> unplugging the HDMI cable.

Very nice.  Whole patch series:

Tested-by: Gerd Hoffmann <kraxel@redhat.com>

/me hopes this lands in the 4.9 merge window.

cheers,
  Gerd

[toc] | [prev] | [next] | [standalone]


#1489891 — Re: [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408.

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-09-23 11:30 +0200
SubjectRe: [PATCH 3/3] arm64: Add the Raspberry Pi firmware's interface to the FXL6408.
Message-ID<skuXU-1R8-11@gated-at.bofh.it>
In reply to#1489530
On Thu, Sep 22, 2016 at 10:44 PM, Gerd Hoffmann <kraxel@redhat.com> wrote:
> On Mo, 2016-09-19 at 17:13 +0100, Eric Anholt wrote:
>> This gets us hotplug detection of HDMI, so that graphics now works at
>> boot.  Tested with watching the output of xrandr while plugging and
>> unplugging the HDMI cable.
>
> Very nice.  Whole patch series:
>
> Tested-by: Gerd Hoffmann <kraxel@redhat.com>
>
> /me hopes this lands in the 4.9 merge window.

Sorry no way. I have comments on the driver and
bindings.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web