diff mbox

ARM: dts: qcom: msm8974-hammerhead: Add sdhci1 node

Message ID 20160720062610.20822-1-bshah@kde.org (mailing list archive)
State Accepted, archived
Delegated to: Andy Gross
Headers show

Commit Message

Bhushan Shah July 20, 2016, 6:26 a.m. UTC
This introduces the eMMC sdhci node and its pinctrl state

Signed-off-by: Bhushan Shah <bshah@kde.org>
---
 .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts     | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)

Comments

Bjorn Andersson July 29, 2016, 4:27 p.m. UTC | #1
On Tue 19 Jul 23:26 PDT 2016, Bhushan Shah wrote:

> This introduces the eMMC sdhci node and its pinctrl state
> 
> Signed-off-by: Bhushan Shah <bshah@kde.org>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> ---
>  .../dts/qcom-msm8974-lge-nexus5-hammerhead.dts     | 29 ++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> index 68f071f..947bd7f 100644
> --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> @@ -233,6 +233,35 @@
>  		status = "ok";
>  	};
>  
> +	pinctrl@fd510000 {
> +		sdhc1_pin_a: sdhc1-pin-active {
> +			clk {
> +				pins = "sdc1_clk";
> +				drive-strength = <16>;
> +				bias-disable;
> +			};
> +
> +			cmd-data {
> +				pins = "sdc1_cmd", "sdc1_data";
> +				drive-strength = <10>;
> +				bias-pull-up;
> +			};
> +		};
> +	};
> +
> +	sdhci@f9824900 {
> +		status = "ok";
> +
> +		vmmc-supply = <&pm8941_l20>;
> +		vqmmc-supply = <&pm8941_s3>;
> +
> +		bus-width = <8>;
> +		non-removable;
> +
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&sdhc1_pin_a>;
> +	};
> +
>  	gpio-keys {
>  		compatible = "gpio-keys";
>  		input-name = "gpio-keys";
> -- 
> 2.9.0
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
index 68f071f..947bd7f 100644
--- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
@@ -233,6 +233,35 @@ 
 		status = "ok";
 	};
 
+	pinctrl@fd510000 {
+		sdhc1_pin_a: sdhc1-pin-active {
+			clk {
+				pins = "sdc1_clk";
+				drive-strength = <16>;
+				bias-disable;
+			};
+
+			cmd-data {
+				pins = "sdc1_cmd", "sdc1_data";
+				drive-strength = <10>;
+				bias-pull-up;
+			};
+		};
+	};
+
+	sdhci@f9824900 {
+		status = "ok";
+
+		vmmc-supply = <&pm8941_l20>;
+		vqmmc-supply = <&pm8941_s3>;
+
+		bus-width = <8>;
+		non-removable;
+
+		pinctrl-names = "default";
+		pinctrl-0 = <&sdhc1_pin_a>;
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 		input-name = "gpio-keys";