mbox series

[v2,0/4] SM8150 Kumano updates

Message ID 20230315-topic-kumano_dts0-v2-0-0ca7fa521b86@linaro.org
Headers show
Series SM8150 Kumano updates | expand

Message

Konrad Dybcio April 11, 2023, 6:14 p.m. UTC
v1 -> v2:
- no-emmc -> no-mmc [4/4]
- drop superfluous input-enable [3/4]

v1: https://lore.kernel.org/r/20230315-topic-kumano_dts0-v1-0-f1852c2a2378@linaro.org

Add gpio-line-names, set up fixed camera regulators and enable SDHCI2
on Xperia 1 / 5.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (4):
      arm64: dts: qcom: sm8150-kumano: Add GPIO line names for PMIC GPIOs
      arm64: dts: qcom: sm8150-kumano: Add GPIO line names for TLMM
      arm64: dts: qcom: sm8150-kumano: Set up camera fixed regulators
      arm64: dts: qcom: sm8150-kumano: Enable SDHCI2

 .../boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi   | 335 +++++++++++++++++++++
 1 file changed, 335 insertions(+)
---
base-commit: 009795d283d1f9f043e5a4ff97d4140cde17e2d3
change-id: 20230315-topic-kumano_dts0-e6c1725cf25b

Best regards,

Comments

Marijn Suijten April 14, 2023, 7:29 a.m. UTC | #1
On 2023-04-11 20:14:44, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@somainline.org>
> 
> Set up and enable SDHCI2 to enable the microSD slot on Kumano
> devices.
> 
> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Thanks for finally sending this and fixing the no-emmc -> no-emmc
property, I've been testing/using this out-of-tree patch for too long:

Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>

> ---
>  arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi
> index ad402f3a90c3..baafea53770b 100644
> --- a/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano.dtsi
> @@ -618,6 +618,17 @@ &qupv3_id_1 {
>  	status = "okay";
>  };
>  
> +&sdhc_2 {
> +	vmmc-supply = <&vreg_l9c_2p9>;
> +	vqmmc-supply = <&vreg_l6c_2p9>;
> +	cd-gpios = <&tlmm 96 GPIO_ACTIVE_HIGH>;
> +	bus-width = <4>;
> +	no-sdio;
> +	no-mmc;
> +
> +	status = "okay";
> +};
> +
>  &tlmm {
>  	gpio-reserved-ranges = <126 4>;
>  	gpio-line-names = "NFC_ESE_SPI_MISO", /* GPIO_0 */
> 
> -- 
> 2.40.0
>