From patchwork Fri Jun 21 08:14:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valeriy Klimin X-Patchwork-Id: 13707074 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 F2C6716C874; Fri, 21 Jun 2024 08:14:37 +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=1718957679; cv=none; b=f+zUMMS0RdihkegPEVaEiRIR7Yyl5IB6x5vbEbR116DsX8fkCXSZWDL+iBH0HeX6TuVt48/uOhqv3T+ZreeiO/8mBTIAnHT2MV/+GT8XHKLGXxNBA2IJMUX5buPJ8Dh2YiS3jYgsewnBkE60NZnFJF1RhIaBfJCvtSg0jINDEGk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718957679; c=relaxed/simple; bh=sx6zZUy5VIB9SBJJVKUEdpEHLOHf8uoUi+agdxjrXRo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HfnLHFDwnGlvTaDEEaB1TgXEXKevvPyejBGHV/WUTPJez7Unwq2xa5Kd6VSgPD1K+PxSrE6jUrWMHadEBTUcBU3YXCRiEQfmTgEyIQxpHCBwv6Fy9F4XiiPU32kBmg0ixU//D2a79jXpz8nhT7nJ2DXwyQDYm4PEL5GYikkJk+M= 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=JoVwv/u2; 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="JoVwv/u2" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52bc29c79fdso1993527e87.1; Fri, 21 Jun 2024 01:14:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718957676; x=1719562476; 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=JoVwv/u2rGIeh726r4xhV1XLJCROxF1UoYgJy5X5FdakcGgOFLLEE43OXRhnxtF4/Y eY30aRWnOOLGbQwumskCPB9HZHKBJ07u6K5ZIgk4FdDRtSh6cWGcLzZlN+mc82kt/3z2 85QjkjrKuIbxSUCmS1MOrvOlfZB2yjY0r5Nsnyrr/tks4EijxI5ZNkcQLFGSuWIYUxsJ 7WaVQ2zvaXlTVEetYf9IMW9apKXW7qjox6WLnjLYbrpEfgVotdT7qx8k4JtUkvaA+Xj8 mxeu69tXiC6aNphnfw1JjUxeiQSA08RO60P1D/xbN2nUWSZIOJEgDMSRLQ46iXLO33Ad a50A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718957676; x=1719562476; 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=bZBITOXF0RTFrtY/fHXXwOHG32GPv05oczYIoGcm6TAE0YpKSWE/8dhEdM8SgDbPAT gK1tf4tTMPOCIKMwGI3IsikFytQZtHLe9j+zv0K7+kUAFuF3BKRYWizG0RGO5SsDI9/U 4TJsrJ8jDX2oAWzmTkNEovvB9f9m4fonE4T5EXRdj7xtSe9lhKPE3a3EXVieN/sSXI56 vvkfo9eWfO0vLGTDJxcwsppH4sEpQ2Op8mmQVNCUMPGDty+OCL9i9ANz7bo2c8aCRmcI 9DwKwVBuxANDMxTD8HIjUggSwzxkExeF/5pr0klyNwZfXghIjyF2+oCdPSEVkGmAKhYA RRoA== X-Forwarded-Encrypted: i=1; AJvYcCVxlJDjhf/F+u/2guFtl/drU+l2OgvSQjTgK6xwmWt2QKhJthVvOjUdW9FbW5sKZKbcwjWilgr6ucEyVsJCX7In1bQzCpp2XbbpJ1L3xO5vDwj+upubfnpiq645B2y4N4MStedTtTemnrgTl+/b5z1t8CsI2yXgiI6YF28iT8V/6tSNe6eq X-Gm-Message-State: AOJu0YwVvgnl/abDjNhBi70iMaXZ+ft1cyubEo0sVx27JEpgbomrt9y5 jBNoS3jjEo7XPmdYB3X+wOkPzd6oZ37Cl2ufxZ8PXX23TIBojdlCIWb1ueGq+uw= X-Google-Smtp-Source: AGHT+IFToMLTDsbNWUqa1S95WWcT2xRiuaQSi2Q65EAvHKeFzZ6Ry3FNrm8CiFpbD2600hwAlBoK4w== X-Received: by 2002:a05:6512:280e:b0:52c:8b69:e039 with SMTP id 2adb3069b0e04-52ccaa2a937mr6722555e87.4.1718957675371; Fri, 21 Jun 2024 01:14:35 -0700 (PDT) Received: from deepthought.lan ([2a00:1e88:40c0:c300::729]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52cd643e419sm125548e87.243.2024.06.21.01.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 01:14:35 -0700 (PDT) From: Valeriy Klimin Date: Fri, 21 Jun 2024 11:14:46 +0300 Subject: [PATCH 1/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-v1-1-bcf96876980e@gmail.com> References: <20240621-sony-aries-v1-0-bcf96876980e@gmail.com> In-Reply-To: <20240621-sony-aries-v1-0-bcf96876980e@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/ZANAwAIAQ4Juwrzgg1aAcsmYgBmdTaLyfN7SvOresfUVz4EHjsny78ta/QBAk2+o sliDU++Eq+JAjMEAAEIAB0WIQT/ENLr7ksLn/+UbhAOCbsK84INWgUCZnU2iwAKCRAOCbsK84IN WvrKD/0bZHAvuLdQ/1rAdeSeyKypy35SlLX72ppxgzbHefckIduPMNKl++h48cLVkETw/BYWAvf C1P486jBYhl0BLP17VJ0n9TRGr+4txrn9oWKNBlgLXfAYcsOD+ODWhXpqodFpAQZ/DCYtpaOq0D 9H+TjJWhkEJTBqkmCorLM/TbG53SgoP2j08sH1XCHNtOFQ0GXsr4llzW2Av8a7LfWkcADMw4KMY 9h7H88yx5eXk8XwX1heRfiDoNd/1381iMansapbFt1XIZrlkvoWerqJARGJRdZYEQjd/XV0g5o1 6dZZiiZRWJLjiu0vdwjCgwXEJ11nYw93kHI1wazG38qWYfDtWbTxyQNOXTERe0bp78V4kt08oAv 0Ve/p0psHLjMF7Y9OBVTnLw3dUFxP1ACiEjaUs5wkX8JzqXVHoXxQmbtfhyjRjYdAGtaCU88SQ0 f3s+P721Kqao6ERQKr1fUuzpRs1HKS5SAxeqz4lUJoujNG7ADvGn3IJRXUoguSG4P/q5xgtxwqW zv9FiqvMFZstN0a8tv2/wyO75stfjkln9eGvoYu9SLJH1qk+fYbjBZK65pPSBwK5VxNGD9UjcTC RavSYOxiU82+hKjrlmmb96cTgQd4QAa4L7UrienVV6sU5bsqkJBG/ER8HqjLpVgO19IjvSM+y3U E3+w7Yh8qq5psOw== 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: Dmitry Baryshkov --- 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 08:14:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valeriy Klimin X-Patchwork-Id: 13707075 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 D174416D4C3; Fri, 21 Jun 2024 08:14:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718957680; cv=none; b=o3LVQKaOrqObZUmyIFh4Ijkcte8E1LPfbBPNFgKGxf9lu6Iw39Rt/Un9iPaM6bTpvb9X4FH8QNuH9kCiAd+ORmMgzE/Gu8wyCS9NNvsC7Fhjex29eRmRy6+nGizrvUqs0iv63Tc+DJ8E0cC2keAdAKmumfny8aBMCQt2GV4L4ew= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718957680; c=relaxed/simple; bh=POLKPgb2ibF2bcxOwu0QuvrBlFOOaUpz7AkF1IGkqmI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Knftqef/eoFwiyE06AAPOMOBymxADEvRjU/x/MNBPkZfckiu5D5jyVancDjPkVRjbGZGNwRu0vZIn9JmeXn2wu3EGZke4NsgxriWxl6vIXgi883gjuPFatYKZNSVcHv/gCnSoiZm/KGbmI3KFioDj0xvLF1+34oRU9cAnyE4nJ8= 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=Zyois1DX; arc=none smtp.client-ip=209.85.167.51 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="Zyois1DX" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52c819f6146so2133439e87.1; Fri, 21 Jun 2024 01:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718957677; x=1719562477; 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=Zyois1DXo09HDzkbkPMQLQKeifrcqcZt1KjOOzr0rJy0Elp/5lMNM7q+BvrylYB+Q1 G4NccjukO+8WOBL3rXlowc0VPBHpxYlTPGvBLPJIsZZ0W+48P+hRcz9110Eb9w3YFaAr LU2A7mE5LtW5v//xriVWEUIiuOZ75WkEon5pIUD789pWrVMm9JpR8JYzVazCNKNu2JDZ 5/4F4GO4U1cKaHkJGDx01W5qVHqjjflAKV9/7PO3vCGsi7+fTw3iOXzKzuZbcpJHYAGt RbclVSfNkTCBugA+j0+EXKG7MiYNPkGwEDMWE4gnsQFUWxYmg/NYT9HK64M7f7NcDNde CTNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718957677; x=1719562477; 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=M3e8fIBbsuKuXhUhIzBW9OcZA7C7a/qecyfD44RRpMQllLD8MJPpIQ97SIZ1MlXxAx x73b3k7pJKL3TA0uqJ2qjM3SSlhCzOC6mSADvLKLp0HxhJiUYMER4fbkBmg9bWjX9mRU yaQX6XgK5NDeJn8j9HSDRQ36Uv7mHnk9mP4Ea85TRzOLaordb2LGp/tT9LJBawJxIyKZ rFGVDP71Hj94AefJ2ljAez42L1iRvFa8veluGoSHyA8Eu6sczktNWAvB3Zs4u2dDXXyu TPH4LILUyBEbgQUpnRWBo5WuCx7TjAMXHpHvUcvvE1BY29rkme5OdcudJFaZomvA7ckV TLhA== X-Forwarded-Encrypted: i=1; AJvYcCVpo3ebl6RYalJmAUhhGt/TutGEsJ8jxh3qQ59cVe+DelNEZ63Z7eAqiQFqLQBuB4tujAWf/G8CeeleVTUPm8vlYiwkI3nFpf7ls8/K1aUAjlrCXwBI3pRVdT0BwSpA4MpmTMGYN9Hn5axiIOSlvXri0PdWOX6ZKq6g9TcgT+uP1abwrUvJ X-Gm-Message-State: AOJu0Yy5CZ1pnG8cO9HfP37IrN1T51jvMCZETF1Z4FuQ+u292kjLmKEF A07616r1MaIeTK0rCcQdX08QxTRe698pIqPMxS8Dj/v4Lqc5Qy8HF7HzcFnI1T4= X-Google-Smtp-Source: AGHT+IFFz1NpfUPWfrMU9JYbwUtaUseJW25McwsgJmS5Rw0bYmX3jF8s5qB4wIscOXUckTPqG/1kgA== X-Received: by 2002:a05:6512:39d1:b0:52c:8a3a:fe2c with SMTP id 2adb3069b0e04-52ccaa91d4dmr5718055e87.45.1718957676299; Fri, 21 Jun 2024 01:14:36 -0700 (PDT) Received: from deepthought.lan ([2a00:1e88:40c0:c300::729]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52cd643e419sm125548e87.243.2024.06.21.01.14.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 01:14:35 -0700 (PDT) From: Valeriy Klimin Date: Fri, 21 Jun 2024 11:14:47 +0300 Subject: [PATCH 2/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-v1-2-bcf96876980e@gmail.com> References: <20240621-sony-aries-v1-0-bcf96876980e@gmail.com> In-Reply-To: <20240621-sony-aries-v1-0-bcf96876980e@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/ZANAwAIAQ4Juwrzgg1aAcsmYgBmdTaMWaV5oTU6YfSlhQWKEJQ9Q8uQmMZSaQjHS 7wdFWXEgGmJAjMEAAEIAB0WIQT/ENLr7ksLn/+UbhAOCbsK84INWgUCZnU2jAAKCRAOCbsK84IN WhZcD/9eaAWPtYBp+CQmh+AtNUrZIij5+pVhhdpfHPAC5XMJJLWRLJKm401UEE5KktS9G8phb4r lk5hQnTwLpHQ3y8d5BQx04rdjN3rTvR+quuBU97l5vOlaIhsBuyo2Kim47dVoEc02SK4CtnulvD +Zv/TuMqVKBSdMabadTAhnWmM7v98WfL40U9fyiThYtncC/pgI1rtBVy/WPEfTggy+Bj8AIWiu9 eB5oI+YOOQ23up9ed0T3i67YIRKkbwft42XHjwhcGUNpUX4vvVcLgJmDQWIBgC68n8e6rDg5VVO chXplXd/Va96aKqpBwsOB0BNuPTbf3B4XIprajZvqkuRp/oh2YV0uY7xhkLeRBlT+mGh5g5D3Jv nfjNBTKSHq8bNqK87UW82nIFDL346qvr7StGWFvGjSeOoe1d21a9KryKQxV1Qs1/j1vc1wycFn1 +AfNOZdjkWJWHJ8ZTj/+LFivqESo/L8wXmeGULXnz1LMNIC9Oicw1pqCfVCmiODKMjUH3p+gijS w/kfuujGuXzi+E53bOYiEYVLoH/UUpM9zTTPrttKhNqZcXVwleRNC9d5ARYom+zRgqxmpHU9FcR Dn+FBb4HPFI+HWxe27s5OAyRaeZ6hqTcOx6x14uNoSuRhcQphmxY2k67HYGDfqez79UPILW3lQ9 6WB6yZx5/Ggpb+g== X-Developer-Key: i=vdos63@gmail.com; a=openpgp; fpr=FF10D2EBEE4B0B9FFF946E100E09BB0AF3820D5A Add the compatible for this device. Signed-off-by: Valeriy Klimin Reviewed-by: Krzysztof Kozlowski --- 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 08:14:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valeriy Klimin X-Patchwork-Id: 13707076 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 B64A016D4E8; Fri, 21 Jun 2024 08:14:39 +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=1718957681; cv=none; b=pJGqgmS85co90+GIcNzdUV0Q64xc7gPn8ucvuh6tWTrb/qygcQNwWf5K/0qBgOMzC/j8gzEIocMmkdY+bsvYt+m2DWDDiUhVk/R/xOr3QT2VA9R0J3VqHCZS+RByaH177N5gr+5o9W0/VrRTvERFCqNrW709ITwSP5O8+auCOnA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718957681; c=relaxed/simple; bh=xFO0qgIbZZSZGxvGjihJgB2It0l8Hs4sqlpsLip0Fe8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cWnNQWsT6BMKp9agqvTLLGx68iO+sR3XTuwo8JbTz9eVpIXHj7r/7Bvl1qxnz59NyagIX+EmK+LXsHN6J7IJX9GZ3S12zQrtT5161wda/cb4/QWsF3c3Uvbb5KLsZX9IcOCpkKCpKXbQmFj6m/xd7Co+aH1ADEVCzJ7jSerxaY8= 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=R+khuzoB; 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="R+khuzoB" Received: by mail-lf1-f43.google.com with SMTP id 2adb3069b0e04-52cccd44570so1975045e87.2; Fri, 21 Jun 2024 01:14:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718957677; x=1719562477; 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=R+khuzoBqAltiH4u9l6/uJM7yUJPjk8pl8dIJpIa/BmKcNWpTZMqiMDCnx0vsGifQj oPByo4vHQFwmHCOqOIAduVyyFYLwGV18ZWOu1Fp4otfjSxtcJkVIrI0BZDez0alJv9AM maAWukaU0lkkJpji1fakvn8TQBi6Nj9f4gPRGq24gaasA9V28JfgE8Vsxy/m1ze/beu3 lXPL2gAxBmlKzp5iPOasNZfwZFQRjqe9qVzAcw5q9WmwYMHpxdOosTm12EWnPbRuXU/w kVSviV8T9I0ROgTTDccL9lsvOBWdYZrFHAd9PPyqaxLaQ2nUVSPwl02x0xaGEBuutkdy N/yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718957677; x=1719562477; 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=c3ww1NnRKH2YfRbF4yBdKwCY38sMkYmUlt3FNon3qY65n9sUm3wyQLvrM6gksUMo5i 5/Li1UvKnbHDKrzLlaNQ4KXx8wTN5+lNb6TblxM85pejxqNobHJ2vda6jyxOtYZ4/bfK pr8zS4aaWLdU+geY0G/cnUepqYNpIfLIvKInRKoRUuR1iyFg5EtP8l+VcgjyroCNVFUL 0W7Ge18eNjuYxThmPAMfv9oDrtoGqtRNCl7KgvQIf4TeBlqaJ2y/Sdw6ctn0t4hXsBMS Ps8JkX0oHA9Q4cm7IqHlfJWYOpdeplAeboB0oLmp7k9EraGaoH7WKm8cEWx219UQWyfQ VTiA== X-Forwarded-Encrypted: i=1; AJvYcCXRk7lgSMblje+o4uYY7LAi6ivIMwl5GeBruM3WdQg/exdAAu8ifjzXAEtzmELLx45YuIVFcknpiQm0lyCILUAHACms0jBCxvCAaHiHlEfWMwUf3uHdIbF4Dg40MhNNZALyr///QKLAbcggF2lGnlPe58E8M6gzisIJw76qmJfv3KQ31dBD X-Gm-Message-State: AOJu0YwDm0J5DRFO29r7FumCtc80JHsQquSC07BDSBIls6areBR6gJzS KUhzuWYnk6rw6KpzaigYVwAj6JJqrK62RiwWjEfDnW5yBmoWlqLOpjv8VCicbEA= X-Google-Smtp-Source: AGHT+IFmXhWWsuxsSkJtNcuigvqkVVr1UAdGQByG20qWApyuUQTDSSBWWR3F15WjD5aFMfM657DezQ== X-Received: by 2002:a05:6512:3127:b0:52c:c032:538d with SMTP id 2adb3069b0e04-52ccaa5be51mr4443598e87.27.1718957677223; Fri, 21 Jun 2024 01:14:37 -0700 (PDT) Received: from deepthought.lan ([2a00:1e88:40c0:c300::729]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52cd643e419sm125548e87.243.2024.06.21.01.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 01:14:36 -0700 (PDT) From: Valeriy Klimin Date: Fri, 21 Jun 2024 11:14:48 +0300 Subject: [PATCH 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-v1-3-bcf96876980e@gmail.com> References: <20240621-sony-aries-v1-0-bcf96876980e@gmail.com> In-Reply-To: <20240621-sony-aries-v1-0-bcf96876980e@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/ZANAwAIAQ4Juwrzgg1aAcsmYgBmdTaMO55zgZkXeo5FuKQfLy+PdRD0EFqiNVRjh bL4U6jyQx6JAjMEAAEIAB0WIQT/ENLr7ksLn/+UbhAOCbsK84INWgUCZnU2jAAKCRAOCbsK84IN WuihD/99DdSmt0QhpONeoqKvN1+5EVxUXYYfsENQcx3lHvgA5N18bihFQqf/7VaLtAoek5BHMaf Ox+MebFr9e4fKWdvqjdHAmUw3hbtRsbwd9+RVYHy+VOW55uXBF37iBtx4N5f0CBmv1u5qUZzz+t 9CBVq3Z2HvcT8erjB4WGUKqz7mLA6BFmpGWaK8dzsyC8iC9OkPPMu8sWaak6cvU7FSCUBD8INAl cD7A9E3VxWIdV+POlhIlFD54+oNHG4tg0Hwj8Q0NCjHlg9tpv3LVxjtcpjGMzbc17Tbb8Y0+97L 2KBFLC6vTRvh23MIMEYn51tlVEFzd0JVc1x1RwHuCW7IUx6rPAsyWpcUaq1wJCg9gP+QHu7zQ46 GRhb6mYoxYKe0mU0x1MPZ50RC7PBXPJbD938Pjk/YfJLq5JXI98X844qAagMx5RK1+4WNBfSys1 r6C1KSYhpEVT7xJo82mDAlcFlyWv5+KbNky+Zhek0nSAOIrJeYnFwb50FrmGk2dGpy63Go+P7aJ H0OYonU02/a9n82/qVOgxaBn2LMBKSK6mL03k9HxQdBRO+o0o7bUYDXoayoVLUYbgzKqqrLs+fR tB/aLC/5cMtHTPYe8A2QBgF2aqRGSTD3W3BJlE4INKLNlOVbPkeVo7yB0uRyOHRkKifoL72Ev5I uVFFtbQZdQmiPUg== 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 --- 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; };