From: Martin Kepplinger <martin.kepplinger@puri.sm> To: robh@kernel.org, shawnguo@kernel.org, festevam@gmail.com Cc: kernel@pengutronix.de, linux-imx@nxp.com, krzk@kernel.org, kernel@puri.sm, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, catalin.marinas@arm.com, will@kernel.org, "Guido Günther" <agx@sigxcpu.org>, "Martin Kepplinger" <martin.kepplinger@puri.sm> Subject: [PATCH v2 5/9] arm64: dts: imx8mq-librem5: Add LCD_1V8 regulator Date: Mon, 18 Jan 2021 11:54:21 +0100 [thread overview] Message-ID: <20210118105425.425-6-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20210118105425.425-1-martin.kepplinger@puri.sm> From: Guido Günther <agx@sigxcpu.org> It's a supply for to touch and LCD. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index d7d807cd72b3..f77b51d3c132 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -82,6 +82,20 @@ enable-active-high; }; + reg_lcd_1v8: regulator-lcd-1v8 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_dsien>; + regulator-name = "LCD_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <®_vdd_1v8>; + gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + /* Otherwise i2c3 is not functional */ + regulator-always-on; + }; + reg_lcd_3v4: regulator-lcd-3v4 { compatible = "regulator-fixed"; regulator-name = "LCD_3V4"; @@ -892,6 +906,7 @@ interrupts = <27 IRQ_TYPE_EDGE_FALLING>; touchscreen-size-x = <720>; touchscreen-size-y = <1440>; + vcc-supply = <®_lcd_1v8>; }; }; -- 2.20.1
WARNING: multiple messages have this Message-ID (diff)
From: Martin Kepplinger <martin.kepplinger@puri.sm> To: robh@kernel.org, shawnguo@kernel.org, festevam@gmail.com Cc: devicetree@vger.kernel.org, kernel@puri.sm, "Martin Kepplinger" <martin.kepplinger@puri.sm>, catalin.marinas@arm.com, "Guido Günther" <agx@sigxcpu.org>, linux-kernel@vger.kernel.org, krzk@kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, will@kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 5/9] arm64: dts: imx8mq-librem5: Add LCD_1V8 regulator Date: Mon, 18 Jan 2021 11:54:21 +0100 [thread overview] Message-ID: <20210118105425.425-6-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20210118105425.425-1-martin.kepplinger@puri.sm> From: Guido Günther <agx@sigxcpu.org> It's a supply for to touch and LCD. Signed-off-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index d7d807cd72b3..f77b51d3c132 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -82,6 +82,20 @@ enable-active-high; }; + reg_lcd_1v8: regulator-lcd-1v8 { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_dsien>; + regulator-name = "LCD_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <®_vdd_1v8>; + gpio = <&gpio1 5 GPIO_ACTIVE_HIGH>; + enable-active-high; + /* Otherwise i2c3 is not functional */ + regulator-always-on; + }; + reg_lcd_3v4: regulator-lcd-3v4 { compatible = "regulator-fixed"; regulator-name = "LCD_3V4"; @@ -892,6 +906,7 @@ interrupts = <27 IRQ_TYPE_EDGE_FALLING>; touchscreen-size-x = <720>; touchscreen-size-y = <1440>; + vcc-supply = <®_lcd_1v8>; }; }; -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-01-18 11:01 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-01-18 10:54 [PATCH v2 0/9] Config and devicetree updates for the Librem 5 phone Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 1/9] arm64: defconfig: Enable vibra-pwm Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 2/9] arm64: dts: imx8mq-librem5: Mark charger IRQ as High-Z Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 3/9] arm64: dts: imx8mq-librem5: Don't mark buck3 as always on Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 4/9] arm64: dts: imx8mq-librem5: Add usb-c chip as supplier for the charger Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger [this message] 2021-01-18 10:54 ` [PATCH v2 5/9] arm64: dts: imx8mq-librem5: Add LCD_1V8 regulator Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 6/9] arm64: dts: imx8mq-librem5: enable the LCD panel Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 7/9] arm64: dts: imx8mq-librem5: set regulators boot-on Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 8/9] dt-bindings: arm: fsl: Add the librem 5 Evergreen revision Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-18 10:54 ` [PATCH v2 9/9] arm64: dts: Add Librem5 Evergreen Martin Kepplinger 2021-01-18 10:54 ` Martin Kepplinger 2021-01-29 8:21 ` [PATCH v2 0/9] Config and devicetree updates for the Librem 5 phone Shawn Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210118105425.425-6-martin.kepplinger@puri.sm \ --to=martin.kepplinger@puri.sm \ --cc=agx@sigxcpu.org \ --cc=catalin.marinas@arm.com \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=kernel@pengutronix.de \ --cc=kernel@puri.sm \ --cc=krzk@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-imx@nxp.com \ --cc=linux-kernel@vger.kernel.org \ --cc=robh@kernel.org \ --cc=shawnguo@kernel.org \ --cc=will@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.