Message ID | 20220215091224.7910-8-t.remmet@phytec.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: phyCORE-i.MX8MP SoM updates | expand |
> -----Original Message----- > From: Teresa Remmet [mailto:t.remmet@phytec.de] > Sent: 2022年2月15日 17:12 > To: linux-arm-kernel@lists.infradead.org > Cc: Heiko Schocher <hs@denx.de>; Jonas Kuenstler <j.kuenstler@phytec.de>; > Bough Chen <haibo.chen@nxp.com>; dl-linux-imx <linux-imx@nxp.com>; > Fabio Estevam <festevam@gmail.com>; Sascha Hauer > <s.hauer@pengutronix.de>; Shawn Guo <shawnguo@kernel.org>; Rob > Herring <robh+dt@kernel.org> > Subject: [PATCH 7/7] arm64: dts: imx8mp-phycore-som: Set usdhc clocks > > From: Jonas Kuenstler <j.kuenstler@phytec.de> > > Add missing clock assignments for eMMC node in the phyCORE-i.MX8MP > SoM. > > Signed-off-by: Jonas Kuenstler <j.kuenstler@phytec.de> > Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Better to more info in the commit log, like to support HS400/HS400ES mode, and work at 200MHz DDR mode, require the usdhc root clock to be at least 400MHz. Reviewed-by: Haibo Chen <haibo.chen@nxp.com> > --- > arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > index c471ab252a69..79b290a002c1 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > @@ -197,6 +197,8 @@ rv3028: rtc@52 { > > /* eMMC */ > &usdhc3 { > + assigned-clocks = <&clk IMX8MP_CLK_USDHC3_ROOT>; > + assigned-clock-rates = <400000000>; > pinctrl-names = "default", "state_100mhz", "state_200mhz"; > pinctrl-0 = <&pinctrl_usdhc3>; > pinctrl-1 = <&pinctrl_usdhc3_100mhz>; > -- > 2.25.1
Am Dienstag, dem 15.02.2022 um 09:35 +0000 schrieb Bough Chen: > > -----Original Message----- > > From: Teresa Remmet [mailto:t.remmet@phytec.de] > > Sent: 2022年2月15日 17:12 > > To: linux-arm-kernel@lists.infradead.org > > Cc: Heiko Schocher <hs@denx.de>; Jonas Kuenstler < > > j.kuenstler@phytec.de>; > > Bough Chen <haibo.chen@nxp.com>; dl-linux-imx <linux-imx@nxp.com>; > > Fabio Estevam <festevam@gmail.com>; Sascha Hauer > > <s.hauer@pengutronix.de>; Shawn Guo <shawnguo@kernel.org>; Rob > > Herring <robh+dt@kernel.org> > > Subject: [PATCH 7/7] arm64: dts: imx8mp-phycore-som: Set usdhc > > clocks > > > > From: Jonas Kuenstler <j.kuenstler@phytec.de> > > > > Add missing clock assignments for eMMC node in the phyCORE-i.MX8MP > > SoM. > > > > Signed-off-by: Jonas Kuenstler <j.kuenstler@phytec.de> > > Signed-off-by: Teresa Remmet <t.remmet@phytec.de> > > Better to more info in the commit log, like to support HS400/HS400ES > mode, > and work at 200MHz DDR mode, require the > usdhc root clock to be at least 400MHz. Thank you very much for your quick review. I will update the commit message in v2. Teresa > > Reviewed-by: Haibo Chen <haibo.chen@nxp.com> > > > --- > > arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > > b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > > index c471ab252a69..79b290a002c1 100644 > > --- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > > +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi > > @@ -197,6 +197,8 @@ rv3028: rtc@52 { > > > > /* eMMC */ > > &usdhc3 { > > + assigned-clocks = <&clk IMX8MP_CLK_USDHC3_ROOT>; > > + assigned-clock-rates = <400000000>; > > pinctrl-names = "default", "state_100mhz", "state_200mhz"; > > pinctrl-0 = <&pinctrl_usdhc3>; > > pinctrl-1 = <&pinctrl_usdhc3_100mhz>; > > -- > > 2.25.1
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi index c471ab252a69..79b290a002c1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-phycore-som.dtsi @@ -197,6 +197,8 @@ rv3028: rtc@52 { /* eMMC */ &usdhc3 { + assigned-clocks = <&clk IMX8MP_CLK_USDHC3_ROOT>; + assigned-clock-rates = <400000000>; pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc3>; pinctrl-1 = <&pinctrl_usdhc3_100mhz>;