From nobody Thu Apr 9 18:46:42 2026 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.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 41FF337CD37 for ; Fri, 6 Mar 2026 10:29:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772793003; cv=none; b=UpMCGZ4tScQ5re43WAiHWYHqe2A3RFYwuNHuVDhCMSdQlZ3cV4oMOlMFqOmn3iTS0xWIjOafqtCncuB8qLzcKSJ2UiMQpySJtQsCVpUeEJpHfmESUzsoXMfJCu6mMkvOJv3gS81bj1dAU78/jkPF+8uQ9TJvsFIBmHkcO/q7ID4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772793003; c=relaxed/simple; bh=rQimVWIJS5wU+wNLCWMKgCOW5DPxO8PvrErq53XFv5s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qgGYMCca9zvX1BpzdnrNniTWpdySijxyfA/zUy/tmgLs0OgFhJ59PBMweAdxmcLzelKzVJWIHxqFAqSpK8FaqT71UwtCCtohcW/SgnO3Y9+mgFhT0lhKn+uLlkMBVcjWCfqNHFzXHEc0+PhlAyZQ0PVU7cmWDonvjIgRLCrvmZg= 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=vCc/8i0T; arc=none smtp.client-ip=209.85.218.51 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="vCc/8i0T" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-b8f97c626aaso1559898466b.2 for ; Fri, 06 Mar 2026 02:29:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772792996; x=1773397796; 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=piJ92bCcZbzXtfYOaOOoHhs9Euyr6xn5G8q2SxoNOHc=; b=vCc/8i0T9FCtxsfB+aVfD2BwqXeKeRSjLJkVBjmFZg3+JMAyFMVhzNx4nsKqp09Gpn GDXq8fxd3Jj1rDAijc5h7xTGiNW0QUmROsLmtObZ8JzlMED3GQYB2LPl7Lfj0iE3B4c3 htZSyPmGRGfWRWDLiR9/NFsCtUGemQiIN51MOzhalC+X8ys722ezvXKazDOk+sfSi6Wg 3D4dEtWPn9ctVwRcmhSUUI79UTWQMmFR0jdTuHltHeGPOYpcoP07NBRdoDeHujT3KwaL AJaFsd84E/rdX0WYZ5SHAfrKtG6+6NMQZVdFHFVE3l7JCnAcoopc7iaIlTz+4Zrk4gP4 s3xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772792996; x=1773397796; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=piJ92bCcZbzXtfYOaOOoHhs9Euyr6xn5G8q2SxoNOHc=; b=NwUsZ/hR8y0gGKgTGq71ysi+k6Z6D/FZEJeDzTF8MOpqw7iNs01oXOsQ5Q4VmY2lES 20+DNnG1sg15jeswOF2sPEIePpbwytQuly/3Spzns/cnNeCOnbiDhi+6vyv26i5yfgnq Z0i0x1OflKyVn2ZiAuYE4B1ojRemldr8STZg0Kc8VcSRxpbB9Zz+rqYx21aAnrxscaMh 326UR3DU2Gh5Kl1QB36bpz0d7KJWpO2rKh72q+3NNof/y5vciQPrLW9iDFI0Ixx2OOvz 93On6XbLO6QPmueELGcjKS7WwQXqID7Y3wbBvSsfFl1zLABZyeeBEiq1ArR607YnBckr Ur/g== X-Forwarded-Encrypted: i=1; AJvYcCUM9YTnS0WkE6yoSmOO7JN/3BvE/ZHNRTqPnWWpwHoT5VS/ZSxxZK1hvrGpnxBPJ7rm6MvalatV4IkHpkA=@vger.kernel.org X-Gm-Message-State: AOJu0YxVgn1KFLcCiU7L3DWwsAl+ELarP1FWAbBE4vp4ssQavvkUtUwE DOCTZlW+WnKCgasXc+OzHgxqiIMp4eBGt77zMzXMiZ0yD1kl4RVTozrFMbXQNrZM58s= X-Gm-Gg: ATEYQzxAnU2XydPTmC/rDRLuR9V9m0527/CGUGf3pmgKuO1iDmf8AhowCA9A61AS8nV 4aExhobA/LtBk3J5gb/u8JgN93xN+UNZnxMnPHMotz4HxLMhNwmOvdNJs61iQUrlBNNbNc5LLYU ZkXq5tiBIAK8V3I+zNkURa4F5EKWyairPUeprT/sozMm+LdlBM4kM/HMDaJ8eYunEqrxtYkLnb9 c6b/95J9gchmupUXjXaUuIWO++SXyD9GCHb1ggA58V5l7rYDWGBMNH5BxY5UoqyaS6uEACFhiHB L8iT5tTKUTpSMK6NCo0R7aU4XUkVq5pzxCzw+V+WtVy/srHEO4e9CxevXyWDVoJTSL0r48jRY/m Va2xKAKdzdKRQHYqd/KKTSeFh5mDYte3TvwQAn+AtmbPTSIuD38bihnjaxQcAPIPIVvxndMOGuh 4UyKDUcWzD4wQrrpAeRAnz2NCGXHXKLCiIsmiUIzgHk/YkcFCEvM6kZx8wPfzdiJS0AAW6v5hAk GFvsVsSwNyd4XVBX9fFvHui0A== X-Received: by 2002:a17:907:6d29:b0:b87:10fd:b590 with SMTP id a640c23a62f3a-b942e05ddbcmr87217966b.60.1772792996324; Fri, 06 Mar 2026 02:29:56 -0800 (PST) Received: from puffmais2.c.googlers.com (221.210.91.34.bc.googleusercontent.com. [34.91.210.221]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b942ef8c95csm42907266b.21.2026.03.06.02.29.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2026 02:29:56 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Fri, 06 Mar 2026 10:29:54 +0000 Subject: [PATCH v7 03/10] dt-bindings: soc: samsung: exynos-pmu: move gs101-pmu into separate binding 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: <20260306-gs101-pd-v7-3-03f7c7965ba5@linaro.org> References: <20260306-gs101-pd-v7-0-03f7c7965ba5@linaro.org> In-Reply-To: <20260306-gs101-pd-v7-0-03f7c7965ba5@linaro.org> To: Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Ulf Hansson , Liam Girdwood , Mark Brown Cc: Peter Griffin , Tudor Ambarus , Juan Yescas , Will McVicker , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.14.3 The gs101-pmu binding is going to acquire various additional (pattern) properties that don't apply to other PMUs supported by this binding. To enable this, move google,gs101-pmu into a separate binding. Reviewed-by: Rob Herring (Arm) Signed-off-by: Andr=C3=A9 Draszik Reviewed-by: Peter Griffin --- v7: - drop invalid tested-by tag (Krzysztof) v4: - update since 'syscon' was removed from gs101-pmu compatibles - update since 'select:' was removed from google,gs101-pmu.yaml v3: - use additionalProperties, not unevaluatedProperties - fix path in $id (Rob) - drop comment around 'select' (Rob) --- .../bindings/soc/google/google,gs101-pmu.yaml | 56 ++++++++++++++++++= ++++ .../bindings/soc/samsung/exynos-pmu.yaml | 20 -------- MAINTAINERS | 1 + 3 files changed, 57 insertions(+), 20 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/google/google,gs101-pmu.= yaml b/Documentation/devicetree/bindings/soc/google/google,gs101-pmu.yaml new file mode 100644 index 000000000000..a06bd8ec3c20 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/google/google,gs101-pmu.yaml @@ -0,0 +1,56 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/google/google,gs101-pmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google GS101 Power Management Unit (PMU) + +maintainers: + - Andr=C3=A9 Draszik + +properties: + compatible: + const: google,gs101-pmu + + reg: + maxItems: 1 + + reboot-mode: + $ref: /schemas/power/reset/syscon-reboot-mode.yaml + type: object + description: + Reboot mode to alter bootloader behavior for the next boot + + syscon-poweroff: + $ref: /schemas/power/reset/syscon-poweroff.yaml# + type: object + description: + Node for power off method + + syscon-reboot: + $ref: /schemas/power/reset/syscon-reboot.yaml# + type: object + description: + Node for reboot method + + google,pmu-intr-gen-syscon: + $ref: /schemas/types.yaml#/definitions/phandle + description: + Phandle to PMU interrupt generation interface. + +required: + - compatible + - reg + - google,pmu-intr-gen-syscon + +additionalProperties: false + +examples: + - | + system-controller@17460000 { + compatible =3D "google,gs101-pmu"; + reg =3D <0x17460000 0x10000>; + + google,pmu-intr-gen-syscon =3D <&pmu_intr_gen>; + }; diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml = b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml index 76ce7e98c10f..09368dbb6de6 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml +++ b/Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml @@ -12,8 +12,6 @@ maintainers: properties: compatible: oneOf: - - enum: - - google,gs101-pmu - items: - enum: - samsung,exynos3250-pmu @@ -110,11 +108,6 @@ properties: description: Node for reboot method =20 - google,pmu-intr-gen-syscon: - $ref: /schemas/types.yaml#/definitions/phandle - description: - Phandle to PMU interrupt generation interface. - required: - compatible - reg @@ -176,19 +169,6 @@ allOf: properties: dp-phy: false =20 - - if: - properties: - compatible: - contains: - enum: - - google,gs101-pmu - then: - required: - - google,pmu-intr-gen-syscon - else: - properties: - google,pmu-intr-gen-syscon: false - examples: - | #include diff --git a/MAINTAINERS b/MAINTAINERS index 611fa8fb9f8f..6a00d97ccd09 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10884,6 +10884,7 @@ C: irc://irc.oftc.net/pixel6-kernel-dev F: Documentation/devicetree/bindings/clock/google,gs101-clock.yaml F: Documentation/devicetree/bindings/phy/google,lga-usb-phy.yaml F: Documentation/devicetree/bindings/soc/google/google,gs101-dtzpc.yaml +F: Documentation/devicetree/bindings/soc/google/google,gs101-pmu.yaml F: Documentation/devicetree/bindings/soc/google/google,gs101-pmu-intr-gen.= yaml F: Documentation/devicetree/bindings/usb/google,lga-dwc3.yaml F: arch/arm64/boot/dts/exynos/google/ --=20 2.53.0.473.g4a7958ca14-goog