From: Teresa Remmet <T.Remmet@phytec.de>
To: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"laurent.pinchart@ideasonboard.com"
<laurent.pinchart@ideasonboard.com>
Cc: "kernel@pengutronix.de" <kernel@pengutronix.de>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"linux-imx@nxp.com" <linux-imx@nxp.com>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>
Subject: Re: [PATCH v2] arm64: dts: freescale: imx8mm-phyboard: Add I2C4 pinmuxing
Date: Thu, 16 Feb 2023 07:46:14 +0000 [thread overview]
Message-ID: <2b0a6bed97c54b3282ce5c2c9f284b231f19d988.camel@phytec.de> (raw)
In-Reply-To: <20230215233226.25856-1-laurent.pinchart@ideasonboard.com>
Am Donnerstag, dem 16.02.2023 um 01:32 +0200 schrieb Laurent Pinchart:
> The I2C4 bus is exposed on the camera connector. Add and select the
> corresponding pinmux entries and set the default frequency. The
> device
> is left disabled, to be enabled from camera overlays.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Teresa Remmet <t.remmet@phytec.de>
> ---
> Changes since v1:
>
> - Don't set bit 0 as it is reserved
> ---
> .../dts/freescale/imx8mm-phyboard-polis-rdk.dts | 13
> +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-
> rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> index 4a3df2b77b0b..0b384ad1ea82 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> @@ -168,6 +168,12 @@ &gpio5 {
> "", "ECSPI1_SS0";
> };
>
> +&i2c4 {
> + clock-frequency = <400000>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_i2c4>;
> +};
> +
> /* PCIe */
> &pcie0 {
> assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
> @@ -336,6 +342,13 @@ MX8MM_IOMUXC_SAI1_RXD6_GPIO4_IO8 0x16
> >;
> };
>
> + pinctrl_i2c4: i2c4grp {
> + fsl,pins = <
> + MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400
> 001c2
> + MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400
> 001c2
> + >;
> + };
> +
> pinctrl_leds: leds1grp {
> fsl,pins = <
> MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x16
--
PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany
Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber,
Dipl.-Ing. (FH) Markus Lickes | Handelsregister Mainz HRB 4656 |
Finanzamt Mainz | St.Nr. 266500608, DE 149059855
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Teresa Remmet <T.Remmet@phytec.de>
To: "linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"laurent.pinchart@ideasonboard.com"
<laurent.pinchart@ideasonboard.com>
Cc: "kernel@pengutronix.de" <kernel@pengutronix.de>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"krzysztof.kozlowski+dt@linaro.org"
<krzysztof.kozlowski+dt@linaro.org>,
"linux-imx@nxp.com" <linux-imx@nxp.com>,
"shawnguo@kernel.org" <shawnguo@kernel.org>,
"robh+dt@kernel.org" <robh+dt@kernel.org>
Subject: Re: [PATCH v2] arm64: dts: freescale: imx8mm-phyboard: Add I2C4 pinmuxing
Date: Thu, 16 Feb 2023 07:46:14 +0000 [thread overview]
Message-ID: <2b0a6bed97c54b3282ce5c2c9f284b231f19d988.camel@phytec.de> (raw)
In-Reply-To: <20230215233226.25856-1-laurent.pinchart@ideasonboard.com>
Am Donnerstag, dem 16.02.2023 um 01:32 +0200 schrieb Laurent Pinchart:
> The I2C4 bus is exposed on the camera connector. Add and select the
> corresponding pinmux entries and set the default frequency. The
> device
> is left disabled, to be enabled from camera overlays.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Teresa Remmet <t.remmet@phytec.de>
> ---
> Changes since v1:
>
> - Don't set bit 0 as it is reserved
> ---
> .../dts/freescale/imx8mm-phyboard-polis-rdk.dts | 13
> +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-
> rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> index 4a3df2b77b0b..0b384ad1ea82 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts
> @@ -168,6 +168,12 @@ &gpio5 {
> "", "ECSPI1_SS0";
> };
>
> +&i2c4 {
> + clock-frequency = <400000>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_i2c4>;
> +};
> +
> /* PCIe */
> &pcie0 {
> assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>,
> @@ -336,6 +342,13 @@ MX8MM_IOMUXC_SAI1_RXD6_GPIO4_IO8 0x16
> >;
> };
>
> + pinctrl_i2c4: i2c4grp {
> + fsl,pins = <
> + MX8MM_IOMUXC_I2C4_SCL_I2C4_SCL 0x400
> 001c2
> + MX8MM_IOMUXC_I2C4_SDA_I2C4_SDA 0x400
> 001c2
> + >;
> + };
> +
> pinctrl_leds: leds1grp {
> fsl,pins = <
> MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x16
--
PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany
Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber,
Dipl.-Ing. (FH) Markus Lickes | Handelsregister Mainz HRB 4656 |
Finanzamt Mainz | St.Nr. 266500608, DE 149059855
next prev parent reply other threads:[~2023-02-16 7:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-15 23:32 [PATCH v2] arm64: dts: freescale: imx8mm-phyboard: Add I2C4 pinmuxing Laurent Pinchart
2023-02-15 23:32 ` Laurent Pinchart
2023-02-16 7:46 ` Teresa Remmet [this message]
2023-02-16 7:46 ` Teresa Remmet
2023-03-14 1:05 ` Shawn Guo
2023-03-14 1:05 ` 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=2b0a6bed97c54b3282ce5c2c9f284b231f19d988.camel@phytec.de \
--to=t.remmet@phytec.de \
--cc=devicetree@vger.kernel.org \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=robh+dt@kernel.org \
--cc=shawnguo@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: link
Be 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.