RE: [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for RDB board
From: Y.b. Lu
Date: Tue Feb 11 2020 - 00:05:54 EST
Any comments? Thanks!
> -----Original Message-----
> From: Yangbo Lu <yangbo.lu@xxxxxxx>
> Sent: Tuesday, February 4, 2020 12:09 PM
> To: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; Shawn Guo <shawnguo@xxxxxxxxxx>; Leo Li
> <leoyang.li@xxxxxxx>
> Cc: Rob Herring <robh+dt@xxxxxxxxxx>; Mark Rutland
> <mark.rutland@xxxxxxx>; Y.b. Lu <yangbo.lu@xxxxxxx>
> Subject: [PATCH] arm64: dts: ls1088a: support eMMC HS200 speed mode for
> RDB board
>
> This patch is to add eMMC HS200 speed mode support on ls1088ardb
> whose controller and peripheral circut support such capability.
> And clocks dts property is needed for driver to get peripheral
> clock value used for this speed mode.
>
> Signed-off-by: Yangbo Lu <yangbo.lu@xxxxxxx>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 1 +
> arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> index 4d77b34..5633e59 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts
> @@ -83,6 +83,7 @@
> };
>
> &esdhc {
> + mmc-hs200-1_8v;
> status = "okay";
> };
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> index 5945662..ec6013a 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi
> @@ -393,6 +393,7 @@
> reg = <0x0 0x2140000 0x0 0x10000>;
> interrupts = <0 28 0x4>; /* Level high type */
> clock-frequency = <0>;
> + clocks = <&clockgen 2 1>;
> voltage-ranges = <1800 1800 3300 3300>;
> sdhci,auto-cmd12;
> little-endian;
> --
> 2.7.4