From nobody Wed Oct 8 14:18:13 2025 Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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 8998B2DA745 for ; Fri, 27 Jun 2025 13:29:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751030977; cv=none; b=pnwlb82IbXa1IPLkY000LzFHbjdU3s0GCNTzAZbQRrcolmySTfLxcZZr5o5hIh4l7OH1uJsWbuX47lABDN3xKoX1+HuBjyYOU5/PIxXC0BlNBgUxDyM1E1ysLnrLskdO30BZSjylSTlxrG8kG4RP3MuU3Bb64JXO+xRWq3EJVpY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751030977; c=relaxed/simple; bh=3Km3fcNcSPZ2Pb31AkgSOmK8Yw3sAe9TSLDvBZGtkMI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Uh6LYlsKkOVgEGLHjLwtP3cW22Fcdr+Ys5rqj0lZ3uVd45E9zUB9IOw6I2atBmLG5PHI1aFK+Sw4UblJUHTJMgCE/pWyBal4hzOBh4MGJ6g0m//FmCdUlpFOkt7Wqe8X36A6alr/6RACu2ldEexyf7AwL8L8iko8Eh5tgP/TL44= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=o63VOEKY; arc=none smtp.client-ip=209.85.208.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="o63VOEKY" Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-607cc1a2bd8so3507616a12.2 for ; Fri, 27 Jun 2025 06:29:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751030973; x=1751635773; 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=97dsq8shbijTwl1Kc6C9X7zbEyd2fSdds/39rteFriY=; b=o63VOEKYRWpqWTmMxuipc6iLDL7rnLKHXZgNtz7pjFZWNbs3r35I2aZlwspkTgzvM5 s/7jlLJ1k5PMUHXkdGe633aoJnEP8MF/XGo4pRS0lDcZFqwDpLVSslUfGvMviP0368YJ /02aVgQZlPOOr6661zIu8DhMImKic5JtPuMRqi0az8l8ulZuhFf8Y9TZ+2TDkgYCPOB7 hMyNR+Ajq93ofHNYoD8gBp+KTe26j3hau6hUh3RrK7spnq9py29jIQ6zJsyJJs1tsKgq Olb7kcqPDWJRQliMqH7BG+aVdbfdr8bCC6Y1DI4V67bX3897fVenEqca6LThPhE3fffD x4Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751030973; x=1751635773; 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=97dsq8shbijTwl1Kc6C9X7zbEyd2fSdds/39rteFriY=; b=uSfWvhTxiTHrWcCF/P5+FA7fb40Y0OYk0+kd2w7JPtSWufFPmvbx5FyLEeLOb2C+03 hTesc7hSg+/ufmEcXZrIhBI7841sGw3Zhtk9At9zPiS9dsvlg0mWIUgyC08jcsW7LSTj Aj2iYveEeoIAmVkQIVgEL3Kg5mGebeRl1z/BpxvGyUTtWybRAF3ymFZMN51NdEM4V/1l 4pbmfIV47N6wJiFQstTfOPvqZ4FgS8hKApBhb4OMGAvm5eni9uyq6McdhBDvTp6SpRtc /q6NbK6+T6TYPAqO33d1ek6RyInPWiz2yEeuRmH8sXcXbns6uWlujQHLZVRcBqStztqB W6cg== X-Forwarded-Encrypted: i=1; AJvYcCVVtl37nOLUOl0HX5POL81lct7RveTJTSyhqYv3MmdI/5oOlaVo52R3VBik1sunzFvlKQx3JvQLA56Xnbs=@vger.kernel.org X-Gm-Message-State: AOJu0YwcpGng+gAjCnJCa6ehrNmVVki1kWQUErie8oDXHhdlaR/pJsE3 TMv7ObG5rOvOfE8u0OD0yrticpljLLBjdGopDNjndaASWQzO656yEf+FxzMEcJGbOQA= X-Gm-Gg: ASbGncuYlhua3Hruw3jvzuA8JDdtqe4LVmPe/x0MPeOyvHXrIVNbIiwrAnIXKsWIrbJ 8ZCfEkLop3avFjsNji+HcoIL20wJWSsgn9EFDONNU7ZTiiOi8+0fCaxvhScZzaIjCU3vQm3uTFy KgoFF+HaY8X77/9oHbxEeOhZF8kWa6hHZGyUYw/k2Ju93aY6y8s+ipBHXpaHczhCnQsUSS41Pib gecRGdmnI8PcUXrbJOaeF3FU9cy7c0SHHFVAk7S3+iQTumXdveH1YFRa3GCJk6nx2MFYj6KHcHz incGZIrrbM3eb4c+mGYxufHTEHM1UvYWsvfDB1HentxkzdNNM42ytc5uuo3CeciTaqYOMUDuA+R U3h/8C2zqrYW4W77fBL7aTDjY6cjNlXkj+YQYRZOlZM4pzA== X-Google-Smtp-Source: AGHT+IGBgERbQ8JzXtKIK0Cr/Y2P+P8Vyd6f4ZzXNGWb2nY1h3VKwcv0VnVGjAGel1FVXEgEuaqQWw== X-Received: by 2002:a05:6402:40cd:b0:607:ec35:eb8e with SMTP id 4fb4d7f45d1cf-60c88e72eaamr2655542a12.20.1751030973492; Fri, 27 Jun 2025 06:29:33 -0700 (PDT) Received: from puffmais.c.googlers.com (140.20.91.34.bc.googleusercontent.com. [34.91.20.140]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-60c82908297sm1462702a12.26.2025.06.27.06.29.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jun 2025 06:29:32 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 27 Jun 2025 14:29:31 +0100 Subject: [PATCH 2/3] arm64: dts: exynos: gs101-pixel-common: add main PMIC node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250627-gs101-reboot3-v1-2-c3ae49657b1f@linaro.org> References: <20250627-gs101-reboot3-v1-0-c3ae49657b1f@linaro.org> In-Reply-To: <20250627-gs101-reboot3-v1-0-c3ae49657b1f@linaro.org> To: Catalin Marinas , Will Deacon , Peter Griffin , Tudor Ambarus , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar Cc: Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.14.2 On Pixel 6 (and Pro), a Samsung S2MPG10 is used as main PMIC, which contains the following functional blocks: * common / speedy interface * regulators * 3 clock outputs * RTC * power meters * GPIO interfaces This change enables the PMIC itself and the RTC. We're still working on the remaining parts or waiting for bindings to be merged, hence only a small subset of the functional is being enabled. The regulators fall into the same category (still being finalised), but since the binding requires a 'regulators' node, an empty node is being added to avoid validation errors at this stage. Signed-off-by: Andr=C3=A9 Draszik --- .../boot/dts/exynos/google/gs101-pixel-common.dtsi | 19 +++++++++++++++= ++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi b/ar= ch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi index cd8e1b8a10b111190b984e104f749d04514d0449..c1b51f4cfb8c174852b44690f84= ed1aa0b4057c2 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi @@ -100,6 +100,19 @@ cont_splash_mem: splash@fac00000 { }; }; =20 +&acpm_ipc { + pmic { + compatible =3D "samsung,s2mpg10-pmic"; + interrupts-extended =3D <&gpa0 6 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pmic_int>; + wakeup-source; + + regulators { + }; + }; +}; + &ext_24_5m { clock-frequency =3D <24576000>; }; @@ -290,6 +303,12 @@ if_pmic_int: if-pmic-int-pins { }; =20 &pinctrl_gpio_alive { + pmic_int: pmic-int-pins { + samsung,pins =3D "gpa0-6"; + samsung,pin-function =3D ; + samsung,pin-pud =3D ; + }; + key_power: key-power-pins { samsung,pins =3D "gpa10-1"; samsung,pin-function =3D ; --=20 2.50.0.727.gbf7dc18ff4-goog