From patchwork Fri Jun 21 14:26:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valeriy Klimin X-Patchwork-Id: 13707662 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33CDD23765; Fri, 21 Jun 2024 14:26:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718979991; cv=none; b=XeOwbm1gQ/voBpWlw1JpWA5CwdBi5reDuhM5bRju++QmcYka2f4ziqTF+pNpCp69mT8WdM33tHPMM8gsnJbq0dn1loxwnyXsRYRfdvjXir9tv4r8NtJHQI6f85Ijnyw18qUD81WPjZSam7WuCDF4CXsUCTaWpO2KHxizYSki7pw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718979991; c=relaxed/simple; bh=POLKPgb2ibF2bcxOwu0QuvrBlFOOaUpz7AkF1IGkqmI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=EhDYYW3Y27zweECVrSZPw/1lBjfhd/5cz/3lG91EI9FV0UuQv7KLA7IClDYtjVm88GwDQwL21Hd7INzd0tvPd9wivJlWwYlH2BKT+3SJHwUNNAujUg7m4B3JNMX2WJWXJpUwiWw3akF2YAlVEdjeBy8ncNQ4AE/D8O7UuS9YWvY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nDpCQ82C; arc=none smtp.client-ip=209.85.167.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nDpCQ82C" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52c8c0d73d3so2309240e87.1; Fri, 21 Jun 2024 07:26:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718979988; x=1719584788; darn=vger.kernel.org; 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=2UVA7OA4NKaaldsZtLrfYLn5A6RGbo0jYJk+0JeFk3M=; b=nDpCQ82CnQsoZadIizDypY6rwY4SmHyOtGzNiOGyYxV0Eb8r8HG4pQ2OxHgYxMuPim mDcdUYwEao97G7N8MW8NO8g/dI6pYwY3Rl8Unm8dwCWrz0vl0Nl9XSZS1J4U/FOQWAvR VEAT43oXdmp5D6pIWmqshOOBw+2gGBcBNE9xndKfe/bpWkVb5GP4MGS++eueNB67y9lw PdSScEXy03jzTB8pcMo0Vq7c+e7c8lyKEPXeWAB66Uano/2frfbKNRmGBnN6Jue97D8L MRFFtef0eLLuMIg++XN500YisP29TZS3eCfl4lQOB009gUPV9FC2iTy3U3ZEDvWgZxNV pCng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718979988; x=1719584788; 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=2UVA7OA4NKaaldsZtLrfYLn5A6RGbo0jYJk+0JeFk3M=; b=aPNrxh3WeMpqlaodFElUCm3q+vSU/TLm1cPXsSYdXn+6hQKOd540DW054B9f/Ju+gU njyN5gYzSZEaApNnrJFKc5IndJVYuxMG8yD7bpfLLwS5BxbIdkZRZR6v3ABgljkzGrVM CXCxLV96fKVzUj5X5y+JcIkxOoZQPGg9TuniqYpPhtZ3TdTTNgF7Cd5zX0noHPZQ1DXq Bqe8lmy43Rrs6eQNLlCNgOsSs2Ao3GrjSW40ee4e6g8ikYdFI0W/n3hwiboOF8u+LF+0 Y0ap3tX0y/OnhOienicHng5/jC+T733sJqdBe1xdkTBP69ESlJ81ckpMDsItYk59Z1L3 qgEg== X-Forwarded-Encrypted: i=1; AJvYcCVCBGs0rrbBY74IOOyvkHX9bRf/wV3JBSax9tQfSVvu4CgjC71+wYiBdpysuKxuZMU7VirLJRp0pPsODpvQwT0cWun1s51tyigTi4hu+KFSIh38747kWQk/sLuanR5GTnCU1Wde2e3kCBSTKqRfMo29r5o8JwfMzBRT4DWxu80R534yJDf+ X-Gm-Message-State: AOJu0YxaWvXH6aMG29eCgTntylwWsLnZ3MnvdFQ0FPK/klwSG9cl+Bh/ P20DBXb5wfMfZObYsFp6OG3mEklMlbaWVo99sfL5Az/nRbSNSl+d X-Google-Smtp-Source: AGHT+IEhPxq1CXbfBQq9Tomh1sRdc9wzAN/pwi2e0P0GeIfjN7ZPwYHowh0WRUG5+ag2GvR5EscJ6A== X-Received: by 2002:a05:6512:3088:b0:52b:84bd:345e with SMTP id 2adb3069b0e04-52ccaa9740amr6922401e87.43.1718979987917; Fri, 21 Jun 2024 07:26:27 -0700 (PDT) Received: from deepthought.lan ([2a00:1e88:40c0:c300::729]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52cd6452602sm210890e87.298.2024.06.21.07.26.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 07:26:27 -0700 (PDT) From: Valeriy Klimin Date: Fri, 21 Jun 2024 17:26:42 +0300 Subject: [PATCH v2 1/3] dt-bindings: arm: qcom: Add Sony Xperia Z3 Compact Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240621-sony-aries-v2-1-dddf10722522@gmail.com> References: <20240621-sony-aries-v2-0-dddf10722522@gmail.com> In-Reply-To: <20240621-sony-aries-v2-0-dddf10722522@gmail.com> To: ~postmarketos/upstreaming <~postmarketos/upstreaming@lists.sr.ht>, phone-devel , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Valeriy Klimin X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=735; i=vdos63@gmail.com; h=from:subject:message-id; bh=POLKPgb2ibF2bcxOwu0QuvrBlFOOaUpz7AkF1IGkqmI=; b=owEBbQKS/ZANAwAIAQ4Juwrzgg1aAcsmYgBmdY20hUw8KyPCuf3Tmyt9qGCb5MAVTi/SlEAVT p4pu08mjU+JAjMEAAEIAB0WIQT/ENLr7ksLn/+UbhAOCbsK84INWgUCZnWNtAAKCRAOCbsK84IN WkOKD/9wyCqOLalQABcOO+ACjEmiefWqmkw2cqdAKx6huOBNYiGOa1NYwer7CTp9sewwUpL3XRE BnkMnpsFMKsTYMmpC31H6Ji7piBnsGre+JxNR3JWAGKsaRuqOb3eKSiFdrpB1WnxKH/UvA2Vpxb pKzOb6veBH93HsfVPXfhBXGgGxRy6lqDvEgXDq8RkQag07LsZJ7hxHW0zhDYC3sVpu8oZDibt5+ uiSnPwAtv5ky3mrCqu4sCWkqdy7miwtHwoLxF7ypmDrMb/4HHhns9apTSdXdocuPAuHR2IyvWr1 oHRAySqGjNJWE5BV1UYiSn0CQttbMJUya7QHP7+hqmBDdH9ZhlY9dxWpoSRNIJ91Qbop6hrYkEg BQ0rXHQjbawNn15T+VZlRLw4WRRQ4bnbPTGxwpBCBP9MHT981lEqvP92Nk1mNTBmqFGvAxG7TcO Pmnx+EuCB9hZFJrDr56vBMcJrrQAeZs7+hMksFuYRqu8F6HH4XRI3E3JXLOVJ8eu9uZdOnS9cye K5BBNceNcpAO+DZ4DLhfWoOC9TT/fwXPhuU88E3zKFmu/QcmZFKMf0ca2dcfsGFmKBWEIEzA8b7 7lBjoKTAVCYEAXMiu+R5fCdLvX/4g5jnH0fccemnj32ddhR4Ndg3TwcmJMrPMDJ6TfO3jHyQ7zu jEADXI8bg+TdJqg== X-Developer-Key: i=vdos63@gmail.com; a=openpgp; fpr=FF10D2EBEE4B0B9FFF946E100E09BB0AF3820D5A Add the compatible for this device. Signed-off-by: Valeriy Klimin Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index ae885414b181..e53f061fc1cf 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -184,6 +184,7 @@ properties: - fairphone,fp2 - oneplus,bacon - samsung,klte + - sony,xperia-aries - sony,xperia-castor - sony,xperia-leo - const: qcom,msm8974pro From patchwork Fri Jun 21 14:26:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valeriy Klimin X-Patchwork-Id: 13707663 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 297412BB1B; Fri, 21 Jun 2024 14:26:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718979993; cv=none; b=smhmXvZbDG9Do94awBcDaMSecXWMMsQXZU8SQ6z0+T6FC9J3MSCei2YWBUSHojvxJJ3zUaJCly6GStQ1E9VAEF8Qk6IgSymFDmGOMlPBOzIXn2plNArq0Kkuslkx2hhyDx/E1d9/wRANHT6ITV4RUgCzSGBEj037EKCZzjhQnCQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718979993; c=relaxed/simple; bh=sx6zZUy5VIB9SBJJVKUEdpEHLOHf8uoUi+agdxjrXRo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G2xtOEkl1wnpGolSqKWdsq1bLj6rWAfXZUAGDoGuQ0MCDDUFrjRN7FpywNENnq/x6XYdMtGznEyVCMKoo4KFPJ4HyzOm80HLEh6FVZwjZzeQZjOrcjUCRHo54Fq8+D4e9tKTt1CKay7hx5HeuuRmcaOCJZV2WyQWyFToyJe8sBU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=WDVqMwCh; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="WDVqMwCh" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-52c4b92c09bso2899795e87.1; Fri, 21 Jun 2024 07:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718979989; x=1719584789; darn=vger.kernel.org; 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=dN7pbOIeGB+YAOoJEuREJAb+fbKo2GeRrfkVrjvMfn8=; b=WDVqMwChrUwzC2a+nKwqCQ8fVviQsz+47JorUzzAMv+vi9Y3zGxgvc2ZDaEVbXyhxd egAklrqffcl/WlX40j6kiaViHKAd9Xhbm5ehSY4sq+joU9La7haXq2lV40qNfrEjeiq6 SO7lJguE7imfeB8Aw4Bl+aPyYbV6+cQjV4FNcoIXjO9nVO+C0dMCcc8yx4LJEk+NE4di 4z6TlqldcTtnaOY8hkSHtSbX06wkeMzrarmp08/fVVwY0V5B33xLvZwO0F9ozjLtgoZZ UPm1nMQJXRWpeDOTw+nuqrs1Oa2rbAa+/qg158SM4/ccwxa7Dqig7a1deMycKiWAunKN M8Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718979989; x=1719584789; 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=dN7pbOIeGB+YAOoJEuREJAb+fbKo2GeRrfkVrjvMfn8=; b=by4yVgK6Dq7tGWLZK8wPftnF9N26p8aJkJTONvxnSaDCZnvvjr7RHEeNUXQGzEOqSQ mFhQuuHrfM0w7dEtf+J0wGqc0QNw1xEoc1R0GeNzGg4c/fJuPOs8rsfDcJ58cd1ww9Pg n5rOBWeuF7NCEL3s8x6bui8KKFgtRy+cAUC9ZcRwF40wu/BXSDv/hdV3SKefeJslW0mA 0lEE0n9hUy9IFlH5FUdpn6FsrZ4fT0m3vtsHSa42IFNxz0upj3o9JCeu+BgQAsUAuEqe ly+uiLoY5W7hV0R1/hXcVdnZO8JX5/zZe2uwmVE83YZt6ZCzdZgw8Raa2LOGUUW9FNPX i31A== X-Forwarded-Encrypted: i=1; AJvYcCXnUq6HWJ4b/zW5lNyUp3VFWo8lnbYZ9k45DMA2PgMXM4s9w0yGK4dzJ2W8miSnjn2SjXqsV0YNaFL1CJ9PJTtdpDmX819aKNOI8QuKAZc36k/Z639knoKpWJ0en59J5/oGTMjwUqx83whtGBGh4WVWq2Fww6waIHGzkk2H+duDwcztZTmc X-Gm-Message-State: AOJu0Yy9UZob2WvrsZ6Z7M5afLitSgiyz9AHkMzmuHT5y8ilU8esNmsQ NsEMu1u9j/SONstTHsnquyrOHBvbL22lBQd4OW3BLzKeJ5V4gYbV X-Google-Smtp-Source: AGHT+IHkwO2P9tATK6aGRG9fGsYo6wQqTRLCALr9EGYZMLwYJBpBOF+GMgGHW2sRbaeSrEnGzW4rmg== X-Received: by 2002:ac2:4303:0:b0:52c:d7e6:8d73 with SMTP id 2adb3069b0e04-52cd7e69e76mr1277432e87.18.1718979988900; Fri, 21 Jun 2024 07:26:28 -0700 (PDT) Received: from deepthought.lan ([2a00:1e88:40c0:c300::729]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52cd6452602sm210890e87.298.2024.06.21.07.26.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 07:26:28 -0700 (PDT) From: Valeriy Klimin Date: Fri, 21 Jun 2024 17:26:43 +0300 Subject: [PATCH v2 2/3] ARM: dts: qcom: Add Sony Xperia Z3 Compact smartphone Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240621-sony-aries-v2-2-dddf10722522@gmail.com> References: <20240621-sony-aries-v2-0-dddf10722522@gmail.com> In-Reply-To: <20240621-sony-aries-v2-0-dddf10722522@gmail.com> To: ~postmarketos/upstreaming <~postmarketos/upstreaming@lists.sr.ht>, phone-devel , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Valeriy Klimin X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2448; i=vdos63@gmail.com; h=from:subject:message-id; bh=sx6zZUy5VIB9SBJJVKUEdpEHLOHf8uoUi+agdxjrXRo=; b=owEBbQKS/ZANAwAIAQ4Juwrzgg1aAcsmYgBmdY20Kb7cR5CXC2j9Fu8n5Kv+HSNoRK8quglmb mwXawBox7OJAjMEAAEIAB0WIQT/ENLr7ksLn/+UbhAOCbsK84INWgUCZnWNtAAKCRAOCbsK84IN WoKDD/9HTTZt2WW357I7QjD9jVjDsKydAO6GkHEZYIf/SwbbvixZ3RIEf1a6ZXJI21uCxezGKOC 6HVPeS3o9eeca0Yw+FCFivfbFRVf8pVR+BCYZmuLeP4+Jz+i34DOm0dhTKThTePt0cmOwafzCil hKdY6Fyosbs2fOKDQn9oAL/0swxa4+BJkN/BRrlmmwJUJiSTrXKMAFMi6yRUBAUCsCD1CrqNtLJ xl6eu/e/63bW7+sjZZ+kCBibnh5GZiyakjypcAlOHL92l/Bb/6hvTiNV20ju0V6Q2FlCHKl4TMW wRo9f9IvwYrPad6th3Sx1a/XeZ2ltFNGKMqH+BYWZAQ7fZq6JyRhoKTQbUIIoQWRYkgEr1l9uW4 gsz3RSBbaUV68VzIbMsSoM8u9sZQK9HLBgbsJhqSFsAzTA36Tend4LCHeAyy7QNfctKPAOsonwM beBpmSMq6TWu6QFOhYVVUPyvsYvlezyEhwxwi3Grqb+QY3FVux1BNgyLXe0Kk8x3Tzagoal7X50 Rq9zLb/yPw8MwFV1J4j2QmJ9/QqMp+zWiPoSI7kgzcam4sCNOn9kDl3AdkWqqgaq6ote7yIwIFq o75n25EMTDsSSXfH6LQekNAQMOCO82ziK68BuXYn9F2749kMeirvtRzs4kGFuh6m0pcV7f4wct3 p1iB6h5QqcgS9/w== X-Developer-Key: i=vdos63@gmail.com; a=openpgp; fpr=FF10D2EBEE4B0B9FFF946E100E09BB0AF3820D5A Add the dts for the Z3 Compact. This is currently almost the same as the plain Z3 as they share almost the same hardware and nothing device-specific is currently supported. Signed-off-by: Valeriy Klimin Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/Makefile | 1 + .../qcom-msm8974pro-sony-xperia-shinano-aries.dts | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/arch/arm/boot/dts/qcom/Makefile b/arch/arm/boot/dts/qcom/Makefile index e2e922bdc9e9..d057396cfeef 100644 --- a/arch/arm/boot/dts/qcom/Makefile +++ b/arch/arm/boot/dts/qcom/Makefile @@ -47,6 +47,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974pro-oneplus-bacon.dtb \ qcom-msm8974pro-samsung-klte.dtb \ qcom-msm8974pro-samsung-kltechn.dtb \ + qcom-msm8974pro-sony-xperia-shinano-aries.dtb \ qcom-msm8974pro-sony-xperia-shinano-castor.dtb \ qcom-msm8974pro-sony-xperia-shinano-leo.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb \ diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-aries.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-aries.dts new file mode 100644 index 000000000000..2621c5928b6a --- /dev/null +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-aries.dts @@ -0,0 +1,44 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" + +/ { + model = "Sony Xperia Z3 Compact"; + compatible = "sony,xperia-aries", "qcom,msm8974pro", "qcom,msm8974"; + chassis-type = "handset"; + + gpio-keys { + key-camera-snapshot { + label = "camera_snapshot"; + gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + + key-camera-focus { + label = "camera_focus"; + gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + }; + }; +}; + +&gpio_keys_pin_a { + pins = "gpio2", "gpio3", "gpio4", "gpio5"; +}; + +&smbb { + usb-charge-current-limit = <1500000>; + qcom,fast-charge-safe-current = <2100000>; + qcom,fast-charge-current-limit = <1800000>; + qcom,fast-charge-safe-voltage = <4400000>; + qcom,fast-charge-high-threshold-voltage = <4350000>; + qcom,auto-recharge-threshold-voltage = <4280000>; + qcom,minimum-input-voltage = <4200000>; + + status = "okay"; +}; + +&synaptics_touchscreen { + vio-supply = <&pm8941_s3>; +}; From patchwork Fri Jun 21 14:26:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valeriy Klimin X-Patchwork-Id: 13707664 Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 298212BD05; Fri, 21 Jun 2024 14:26:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718979994; cv=none; b=Ky8fKoBRc1D6OOFjhwCoIz9AY3O5cxydg6/0kZH8BCltpCKT4zKUM2qYDCTr6N/gjwrYVuBpv9JSakpvaqRVApPgUJGfvs5fwDdX+5t2fjZRr7xfCUNdITJRQNjprgaBIeFy6FRLa+ngjSNgOhA17a5u+5ybFDoSHcMgV/zYvNg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718979994; c=relaxed/simple; bh=xFO0qgIbZZSZGxvGjihJgB2It0l8Hs4sqlpsLip0Fe8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KSriNT57WlhY9q2czQT+7l42uhxj93rs+LoxMtYNM+apF1raaKyCDMyRLPFl75HeTRN839QgAS3vivcbHK4cqT+ggy54QYalAPOXQSRN05917oCcfBSjiZDtuQbGmkIatHgpFThQW2KnVfvzGiQf3yC+9PWF5jkC6+WNaoIzSzw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Aq5LI6rg; arc=none smtp.client-ip=209.85.167.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Aq5LI6rg" Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-52cd8897c73so694271e87.2; Fri, 21 Jun 2024 07:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718979990; x=1719584790; darn=vger.kernel.org; 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=0O/Dqe2KMVumxXzco1OedBrrN88fxS2sDSxa3fRQNVo=; b=Aq5LI6rgW3U/OzB50c+UWrbkPhat02b3EbYQTGPzc8bj1V4+LWLUmq2D/WbpQ77eqs lsuvfgkDyw3Puf7TU7UWLJTeRa1iZrYB4Dg3pqJ6Bcq/RpdVYEHENcdHzdPMX4yvd14g mffseEnpOGMZDMittdC8WDAuQTXnVJJ9cT13Hl1gQrBKANzA1wCg0wPkGOKYdvna+Dl/ 88Rspe0jptfRoDUua96MyTLUuuVDpXKoDmb/7Fb60Adth45agqLOSucO60VdfltURuDX 3fJqr2UGVENt3s4lVnRzHcxxBC8S/knaCX2zU7dNtP4DNU5CeaA/bsoPLCkjlgLnwj8c Z8hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718979990; x=1719584790; 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=0O/Dqe2KMVumxXzco1OedBrrN88fxS2sDSxa3fRQNVo=; b=qoP839oKNU7qnxddBlzXV2aNS9gNkeJ0uRi+1aTIVdMWBXrAS8oAJAsl1vPCVjMoPn DpERy163p7fLquBc4ZtQnVSixpAzCy1x31tv4pcoNktEIHK8DNhoYp/rsxT7CKuppnsU 9CSF4aKJf96bpO5IWnDRe8HnKLY3hrONCSlg9B8uldT7B/EXI1Uze9qt6g4+I2QdjnqX GATA6/6o1+Yg+Cn4Rhtg7ryjpaqhM8OKfQMArnBxkaJKDSMvXRRCbormsgLLqVF2LlXR mCTzj0dfTRaL/Q5sxEpqOaYpQ12yDzvxp4sppg+A82iiM2suuqa/XFlx5YT7jsbpMmw5 T5zA== X-Forwarded-Encrypted: i=1; AJvYcCU/fih/vJMzUUYQ9AVCFBvd46TIzhLF/qhnxb6wKlO21eyWOL6b8cWTliblnlKXIBxSVAftPcGytFA488kF5kMeX3qXG6wib6uGKnMso2x5rJycKU5owiPYZr+KB9J8+aiqteI17KmvLBUq+P8SaYuWo8pqfDiyEz7D8hK29axNh7YeqeHe X-Gm-Message-State: AOJu0YwigONIANJ+CCdn6IJ8i2tJRzlGf54xJyco9fL+UjTYadWBHwi/ CmAScfKSE3IMHu2TA9VYgXKj8o+U9v/kV5Bo16q7+4gDNFl2TNso X-Google-Smtp-Source: AGHT+IG9p2xVd4m+GyjcyNv6DpWv4dLZTqAH1pvlBaIVMjFF2WCvTxEvDgPoEYDvdbTqLJlv+O9nEA== X-Received: by 2002:a05:6512:138d:b0:52c:8fd7:2252 with SMTP id 2adb3069b0e04-52ccaa587a5mr6483704e87.11.1718979989833; Fri, 21 Jun 2024 07:26:29 -0700 (PDT) Received: from deepthought.lan ([2a00:1e88:40c0:c300::729]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52cd6452602sm210890e87.298.2024.06.21.07.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 07:26:29 -0700 (PDT) From: Valeriy Klimin Date: Fri, 21 Jun 2024 17:26:44 +0300 Subject: [PATCH v2 3/3] ARM: dts: qcom: msm8974-sony-shinano: increase load on l21 for sdhc2 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240621-sony-aries-v2-3-dddf10722522@gmail.com> References: <20240621-sony-aries-v2-0-dddf10722522@gmail.com> In-Reply-To: <20240621-sony-aries-v2-0-dddf10722522@gmail.com> To: ~postmarketos/upstreaming <~postmarketos/upstreaming@lists.sr.ht>, phone-devel , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Valeriy Klimin X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=997; i=vdos63@gmail.com; h=from:subject:message-id; bh=xFO0qgIbZZSZGxvGjihJgB2It0l8Hs4sqlpsLip0Fe8=; b=owEBbQKS/ZANAwAIAQ4Juwrzgg1aAcsmYgBmdY20XgPqN6JfrMkp06aC5jorkxKSjreYUbaQl OMNNs/pQ+SJAjMEAAEIAB0WIQT/ENLr7ksLn/+UbhAOCbsK84INWgUCZnWNtAAKCRAOCbsK84IN WoshD/92iJ6MCBcGFn2guJOcpvzFXix2ByPRr0rrg0sCDftcvRgP05CPdM8/rrMu8hDAFxlTxs2 XXBYR9ITiMZaXirwZvX5fqzghMshzqD4BqlQDDtJy4QXBmFA97RYYVozvGkp559px1HQclPs6cd on50KICi1W9spVABdX6XEO/TCO3WG1CyVeh4csgt11lLsHoLigG9PcodV/gpl9LStWimPJX6xhS DltbSSJvQTsZNBNl0ps5S89ajctTKss2m7bq6lawgXCNUPup7zewfNaNFTlVz/O6viPThvts/WU 2NwPTPeKlNQm0Ps1E6b15p+0yrb77+AfGpEKiY2r5DN+tB1BKeHKJwlm3DyVkaL+cmSmhJf1Ee7 8mAK7G6EZJ84r1UJH+F8IjrBh5KTsnSI+bGKCYsuQ7OMNom9c5Zkh3uRVhDaLzkL/Q0i7BFkGzb 8tjSXbQMrA2L+EHVW/2itPWABa3INiWhXYl+fK9KUCv9mwO0um8j2y1LpNf5eUX5IT43EzTT9+6 +VH1xQ+/g5wme6tvpJ1yNELV3F2PWxrLnps+S2mmt4nwdEyIG2IDNwpO4dzUOo1K8DBcp6RGGNN kJODxatrd3OHzsbXWVSp4febD9JwTfia36KCIrBZF621yiODPXzPnZ87F9KHku1OCwLn/rHBhMt faB+FBkhff4w6qA== X-Developer-Key: i=vdos63@gmail.com; a=openpgp; fpr=FF10D2EBEE4B0B9FFF946E100E09BB0AF3820D5A SD cards would exhibit errors similar to ones described in commit 27fe0fc05f35 ("ARM: dts: msm8974-FP2: Increase load on l20 for sdhci") This patch applies the same change to the regulator for sdhc2. Signed-off-by: Valeriy Klimin Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-common.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-common.dtsi index e129bb1bd6ec..6af7c71c7158 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-common.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-sony-xperia-shinano-common.dtsi @@ -380,6 +380,8 @@ pm8941_l20: l20 { pm8941_l21: l21 { regulator-min-microvolt = <2950000>; regulator-max-microvolt = <2950000>; + regulator-system-load = <500000>; + regulator-allow-set-load; regulator-boot-on; };