* [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property
@ 2017-09-20 13:56 Fabio Estevam
2017-09-20 13:56 ` [PATCH 2/3] ARM: dts: imx6qdl-sabresd: Add CEC support Fabio Estevam
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fabio Estevam @ 2017-09-20 13:56 UTC (permalink / raw)
To: linux-arm-kernel
Since commit c26ebe98a103 ("PCI: imx6: Add regulator support"), it is
possible to pass the 'vpcie-supply' property to describe the PCIE supply.
This way we can remove the 'regulator-always-on' property from the
regulator and have a better device tree description.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index b72b6fa..77f7b12 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -67,7 +67,6 @@
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio3 19 0>;
- regulator-always-on;
enable-active-high;
};
};
@@ -651,6 +650,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>;
reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
+ vpcie-supply = <®_pcie>;
status = "okay";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] ARM: dts: imx6qdl-sabresd: Add CEC support
2017-09-20 13:56 [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property Fabio Estevam
@ 2017-09-20 13:56 ` Fabio Estevam
2017-09-20 13:56 ` [PATCH 3/3] ARM: imx_v6_v7_defconfig: Select the CEC driver Fabio Estevam
2017-10-13 3:37 ` [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2017-09-20 13:56 UTC (permalink / raw)
To: linux-arm-kernel
HDMI_TX_CEC_LINE pin is used for CEC, so pass it in the device tree.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
index 77f7b12..c6978b3 100644
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -213,6 +213,8 @@
};
&hdmi {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hdmi_cec>;
ddc-i2c-bus = <&i2c2>;
status = "okay";
};
@@ -485,6 +487,12 @@
>;
};
+ pinctrl_hdmi_cec: hdmicecgrp {
+ fsl,pins = <
+ MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
+ >;
+ };
+
pinctrl_i2c1: i2c1grp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] ARM: imx_v6_v7_defconfig: Select the CEC driver
2017-09-20 13:56 [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property Fabio Estevam
2017-09-20 13:56 ` [PATCH 2/3] ARM: dts: imx6qdl-sabresd: Add CEC support Fabio Estevam
@ 2017-09-20 13:56 ` Fabio Estevam
2017-10-13 3:37 ` [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2017-09-20 13:56 UTC (permalink / raw)
To: linux-arm-kernel
Select CONFIG_DRM_DW_HDMI_CEC option, so that the CEC driver can be
loaded by default.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
---
arch/arm/configs/imx_v6_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index 32acac9..1e698fa 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -250,6 +250,7 @@ CONFIG_IMX_IPUV3_CORE=y
CONFIG_DRM=y
CONFIG_DRM_PANEL_SIMPLE=y
CONFIG_DRM_DW_HDMI_AHB_AUDIO=m
+CONFIG_DRM_DW_HDMI_CEC=y
CONFIG_DRM_IMX=y
CONFIG_DRM_IMX_PARALLEL_DISPLAY=y
CONFIG_DRM_IMX_TVE=y
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property
2017-09-20 13:56 [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property Fabio Estevam
2017-09-20 13:56 ` [PATCH 2/3] ARM: dts: imx6qdl-sabresd: Add CEC support Fabio Estevam
2017-09-20 13:56 ` [PATCH 3/3] ARM: imx_v6_v7_defconfig: Select the CEC driver Fabio Estevam
@ 2017-10-13 3:37 ` Shawn Guo
2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2017-10-13 3:37 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Sep 20, 2017 at 10:56:08AM -0300, Fabio Estevam wrote:
> Since commit c26ebe98a103 ("PCI: imx6: Add regulator support"), it is
> possible to pass the 'vpcie-supply' property to describe the PCIE supply.
>
> This way we can remove the 'regulator-always-on' property from the
> regulator and have a better device tree description.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Applied all, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-10-13 3:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-20 13:56 [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property Fabio Estevam
2017-09-20 13:56 ` [PATCH 2/3] ARM: dts: imx6qdl-sabresd: Add CEC support Fabio Estevam
2017-09-20 13:56 ` [PATCH 3/3] ARM: imx_v6_v7_defconfig: Select the CEC driver Fabio Estevam
2017-10-13 3:37 ` [PATCH 1/3] ARM: dts: imx6qdl-sabresd: Use the 'vpcie-supply' property Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).