From patchwork Tue Apr 11 13:49:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 81968 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2590143vqo; Tue, 11 Apr 2023 06:51:00 -0700 (PDT) X-Google-Smtp-Source: AKy350ZO6Bf4haQ8FR9InMuLHRPqgQDot2CO3NmWaEn96GtbRTQZJz7FoRsKPJxLIGLp6ZlwuYcW X-Received: by 2002:aa7:c48b:0:b0:504:b177:3ef3 with SMTP id m11-20020aa7c48b000000b00504b1773ef3mr4683841edq.3.1681221059911; Tue, 11 Apr 2023 06:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681221059; cv=none; d=google.com; s=arc-20160816; b=LwAWL6XzyZSZ40QDRdKMcx/iITpLbjqgvmz934kTH4QtuTHGlBsEn64R7fmb6QV9Bk C4IxUMujE9JFDtcfjwFFUB19n5GSb09Q9cX5yeeAy2HOsid5y/WCMWNazAsAxQtmiwjy pBXwQ0yi67adedX8fIDoaY0gdEgq4fWe8RjWYFkXta6ybwJ4+fJ3EjGgjJYmeDI+y0LG Ts/5TfxMhL/en2qps03Yeo1wwsK2/ujDs2d5yeeEFlQsrF99IbwtvzcrZmefJOnqFTNX AWTWSRpPN7kJPfw8TlNraJDWjvD8UoemW/LASw3IrTH9Q1GUP9rQhgbZFwQiGkL2IYPt 4y/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=uHtWgJFHIhaJVA6LiMJBMJU0hICshc5Lm8ByCpWkf/w=; b=KUuwFgp2lGzQdE/KN+pQeZOc8VaB5L/PdCCYwikGUyoseCKIkTcAwXuD1q4whxQXUM iK4mgNH0dqcgRE/ngyyu9qG7jGtgEGEb02ye7+kDlknprcB9hrckgQVR+/bTEHYrX6D2 d3FWNPP5ok3J8TZRR8jibFTlLG8g8C9nMrXFC4twej8vyn8WXd4ncffFxm+WxbQRTD1i IlhCBvGiqn1m7JXbrc7/hvNdOVh6wKkOWkTgkJya+50NHQIgvqMs0h5H7aKJ0e5t0hNb TAMR9O+ATM5IQxZbvck7yALbB68Ys1ZHPRliyVTdWaYUU3jxxl50bolcWBugy4hwhcFt irnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KTJSSGL0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a17-20020aa7d751000000b005048c666818si163797eds.118.2023.04.11.06.50.32; Tue, 11 Apr 2023 06:50:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KTJSSGL0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230501AbjDKNtf (ORCPT + 99 others); Tue, 11 Apr 2023 09:49:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230461AbjDKNt0 (ORCPT ); Tue, 11 Apr 2023 09:49:26 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1368A1FEB for ; Tue, 11 Apr 2023 06:49:24 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id t14so10361248lft.7 for ; Tue, 11 Apr 2023 06:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681220963; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=uHtWgJFHIhaJVA6LiMJBMJU0hICshc5Lm8ByCpWkf/w=; b=KTJSSGL0yuAsLkW0Ws8NUpXCYKloY0mQEaB9RREuwahxQ72lqe2vz2ZgsA4rN2PDCi U3EdyCjvIApkBpmw/N6jiPlbQN3vlPbj+cOHBWRLwDfVTlaMIgCQzT02Ou23ulJ/E2s6 WCEhVNbO/4n6xEE5D+PtHlCaVwkiErKQ/HfTs6F0ze/tpwzQG6jXG4cW40WDxQmKgMWK 4g+kt8TpB45+HnkbMBLolAp3n3GNlVI5tvYdx8XIpMG3tCu2pcUP/87UTnZK7EEun+Ck UUvcofYFie8GlkisWxghfczBwgxtSK4xr+55NCftBZ/vPt33SQ3Jh/0FqqVcA42J5wxB mV6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681220963; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uHtWgJFHIhaJVA6LiMJBMJU0hICshc5Lm8ByCpWkf/w=; b=UkcG3fCQt+FpPOgcgQQuR/YUjieKKp0SevYgEd6Mb6IFUYGBFYnaY6la6tVicGrT5W +a/OrloTkbdGJcEZ2K+KlmYjceaxT3Kb+4W/oJODeQEZCLQnOu9wAXJNd9JaVljzxlpq jnCVg16Xfl7LrM2TmNV4A0SzR1H5onasnbt2yBej68g4QbQ0tjaTtNItk6/MdtmqDnXV gRg2yWGZ1BMwzxdy3tV5qlrldxob7G7K1Xvr1/zAowYXUiUsnuSR66bm3SE9B13G8inq eqz1BXTuf79XOmO7ZT/SYSyTrbQ4YbBp8lP7DS2bUPsdCP2sfs57o0wXcqF5s5DsWq/8 x0vg== X-Gm-Message-State: AAQBX9ehVFJpR00KcR0KTNiUbo0+sMg7p6g4DTLmClpZRTeV/zVYClA9 SeXN4BwsgD4qjawUNYfIzoWR3g== X-Received: by 2002:ac2:4c81:0:b0:4e9:6097:add3 with SMTP id d1-20020ac24c81000000b004e96097add3mr4731332lfl.61.1681220963648; Tue, 11 Apr 2023 06:49:23 -0700 (PDT) Received: from [192.168.1.101] (abxj23.neoplus.adsl.tpnet.pl. [83.9.3.23]) by smtp.gmail.com with ESMTPSA id y9-20020ac255a9000000b004eb2d6160a4sm2563707lfg.32.2023.04.11.06.49.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Apr 2023 06:49:23 -0700 (PDT) From: Konrad Dybcio Date: Tue, 11 Apr 2023 15:49:18 +0200 Subject: [PATCH 4/4] arm64: dts: qcom: sm8150-kumano: Enable SDHCI2 MIME-Version: 1.0 Message-Id: <20230315-topic-kumano_dts0-v1-4-f1852c2a2378@linaro.org> References: <20230315-topic-kumano_dts0-v1-0-f1852c2a2378@linaro.org> In-Reply-To: <20230315-topic-kumano_dts0-v1-0-f1852c2a2378@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio , Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1681220957; l=921; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=gxjJ6YGpLan1OIOLNTh/xyzJg8bMee6dGyJiV+tpg98=; b=rqX9idewh+MKrObT4whA4e2QmK0L5hgfn542WlrlHCE88WamDPMQBItmcIGikS3F7gpmkSdLyX50 oVjpPCV7A6mwC5Lc5Ol9Mj6CSzoRXfRHakxaTIelrmZ2GCNGbOuo X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762888054056833974?= X-GMAIL-MSGID: =?utf-8?q?1762888054056833974?= From: Konrad Dybcio Set up and enable SDHCI2 to enable the microSD slot on Kumano devices. Signed-off-by: Konrad Dybcio --- 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 5fa0a83a4b2c..9dca22cf3eb6 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-emmc; + + status = "okay"; +}; + &tlmm { gpio-reserved-ranges = <126 4>; gpio-line-names = "NFC_ESE_SPI_MISO", /* GPIO_0 */