Message ID | 20240305004859.201085-2-aford173@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [V2,1/2] drm/bridge: adv7511: Allow IRQ to share GPIO pins | expand |
On Mon, Mar 4, 2024 at 6:49 PM Adam Ford <aford173@gmail.com> wrote: > > The DSI to HDMI bridge supports hot-plut-detect, but the > driver didn't previously support a shared IRQ GPIO. With > the driver updated, the interrupt can be added to the bridge. > > Signed-off-by: Adam Ford <aford173@gmail.com> > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Shawn, Patch 1/2 has been applied and sits in linux-next. Are you OK to apply this to the IMX branch so the hot-plug detection can work? Thank you, adam adam > --- > V2: No Change > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > index a08057410bde..fba8fd04398d 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > @@ -304,6 +304,8 @@ adv_bridge: hdmi@3d { > compatible = "adi,adv7535"; > reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; > reg-names = "main", "cec", "edid", "packet"; > + interrupt-parent = <&gpio4>; > + interrupts = <27 IRQ_TYPE_EDGE_FALLING>; > adi,dsi-lanes = <4>; > #sound-dai-cells = <0>; > > -- > 2.43.0 >
On Tue, Apr 16, 2024 at 4:18 PM Adam Ford <aford173@gmail.com> wrote: > > On Mon, Mar 4, 2024 at 6:49 PM Adam Ford <aford173@gmail.com> wrote: > > > > The DSI to HDMI bridge supports hot-plut-detect, but the > > driver didn't previously support a shared IRQ GPIO. With > > the driver updated, the interrupt can be added to the bridge. > > > > Signed-off-by: Adam Ford <aford173@gmail.com> > > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > > Shawn, > > Patch 1/2 has been applied and sits in linux-next. Are you OK to > apply this to the IMX branch so the hot-plug detection can work? Shawn, Do you want me to repost this patch separately since patch 1/2 has already been applied? adam > > Thank you, > > adam > > adam > > --- > > V2: No Change > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > > index a08057410bde..fba8fd04398d 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > > +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts > > @@ -304,6 +304,8 @@ adv_bridge: hdmi@3d { > > compatible = "adi,adv7535"; > > reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; > > reg-names = "main", "cec", "edid", "packet"; > > + interrupt-parent = <&gpio4>; > > + interrupts = <27 IRQ_TYPE_EDGE_FALLING>; > > adi,dsi-lanes = <4>; > > #sound-dai-cells = <0>; > > > > -- > > 2.43.0 > >
On Mon, Mar 04, 2024 at 06:48:58PM -0600, Adam Ford wrote: > The DSI to HDMI bridge supports hot-plut-detect, but the > driver didn't previously support a shared IRQ GPIO. With > the driver updated, the interrupt can be added to the bridge. > > Signed-off-by: Adam Ford <aford173@gmail.com> > Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Applied, thanks!
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts index a08057410bde..fba8fd04398d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-kit.dts @@ -304,6 +304,8 @@ adv_bridge: hdmi@3d { compatible = "adi,adv7535"; reg = <0x3d>, <0x3c>, <0x3e>, <0x3f>; reg-names = "main", "cec", "edid", "packet"; + interrupt-parent = <&gpio4>; + interrupts = <27 IRQ_TYPE_EDGE_FALLING>; adi,dsi-lanes = <4>; #sound-dai-cells = <0>;