From nobody Fri Apr 10 01:05:53 2026 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.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 85A3D29D266 for ; Thu, 5 Mar 2026 06:11:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772691119; cv=none; b=aub46R6nPCwBaQHbry65+QKwplx0LwQ3Sfb0fQ+tfJ71RKKUrSZR29+0mjy+FhtDZOGUmdaOCHc4252AcKX2uHlwp0oQWoQLuu6mXlqU0G8P1M8fIFzTyyqL+cPOn3++c8RXTF4lYJa11vCzGtWRLN9WYqmPQhIV2q2gb+O0fu0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772691119; c=relaxed/simple; bh=EEPuxE3zx9i5YvvEVJqMlxzcsnK6a/x/2q1dl3xwiOA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JMXo7Dfc9szq04kDKI/0puJlr1aAGDEVLeHL9Y/RSzdcYt3GMX8Wr4ee3i1jejM70J/7jOBktiRWYY/IxOBBX4brogx0xm52AmWhMbMDLOHMGSsmUT4vqgxvVnkZ8eOuRj5gvVTZkGoAZb0J5KAnImjz5Gb1SBLH4qRcOFXvNjc= 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=NlTQ75Ul; arc=none smtp.client-ip=209.85.218.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="NlTQ75Ul" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-b9382e59c0eso212949066b.0 for ; Wed, 04 Mar 2026 22:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1772691116; x=1773295916; 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=9PU4mxk2r95PV9tPzoHDwPxRIhg7ggXYRoeufjEkbG0=; b=NlTQ75UlGei5WYLh93YCkSzx3JNFbYHy+K2HrYBWGuw//8V4J+rFANPgQq1K7wwDII 5xCCR/iSROj8Fh/jFE/fIjxIUtthspXgfe5SK6JKD/od7aNpxCK8j24yBgL+xBnbtMxF xHeTvE74iCZpGqn033t+zI5/zb6WPWJYmxQ1quUU23lItWaFeJCAVRj86tTetybswImg Fh1iK1Odq485cBWgwwTR/UPTO7l4p57joATk6vD2912nN3gsrnKU+EvGCjG14r2xt/oR 5U5Mwr1rIv2Cl3cT4hAJVvbHVXT3ufh8c5J5aTuf9VhlScw1fnTLgKCIiTOkpGD61YvH LOWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772691116; x=1773295916; 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=9PU4mxk2r95PV9tPzoHDwPxRIhg7ggXYRoeufjEkbG0=; b=LUWfPjEz3y5Eqt83kSfSWS+NO1FNJNX5KL6KDCqMv7ikaz727qt7UtCCgbpd1upcX7 OI7M1dhnyhDqXVNV3KfyoHP/CFWmL022KR/FcIVV1p+fyXw3mvfYknFnSiiu3iK4eCv1 d28jSTmWcvndUdiA0rzGGU6uxHaVeZgNIOV40U/6mb6CNiDr4Vb0tVBzV5srEGm7eRXQ nrQFPN+D9iJGiDXIt2PusR/GGbO6G7srLmhERDQoQ9xBR4wN43TGvP/i5ZHroOKAhcv8 decZsETwc/VBQaQKQcNuKIdceONbe1mCd24HcQKTHwkstHsfxQSDoZz3Jk1kE2Sr/Yq6 8vZw== X-Forwarded-Encrypted: i=1; AJvYcCUm7D2yHru4t0OSV+sZQcefQJ4MUGly5WmUJbVYwioJKPHYupDopYmZTSHxNCP29xlGPc18y/f9Y8UWNZs=@vger.kernel.org X-Gm-Message-State: AOJu0YwSQDkhyapz7r0lxfP7dJt4aL0FnW4DGdF6yPFC2Qan/BQ884nC ovy5ZwdnEyGP2RkfxFkRZ4EO2dfKhh5yQ7intR1XyzK2qQ2G3HnnYO+v6Z/jMNff6iE= X-Gm-Gg: ATEYQzxnbdYKOcpdsnv2mq7B+bY4jKo/+g1+92wDT5fbO1G+1hrXUKZgaFIeOa/py6t v6/JGZPAvLCj5bt7OS3GJSiO1yvmB24lDLKXiBF3vxaWjPMw0OKz1iJs8AsBCgKzmx0evYUSbu7 Xv2CgUxl2lCGrEhk6iD7ABG9wHnx+qvN9BJEwmIA3wysGeCUPGMpStnASxsCC7mdeDNEZHiEj+O mQHEre9QPkoPOjp+BIJczSPr0X+iPhFjDJ7Uli6rVh6A2N7czbeknmNkSqNp97V1Ue8Fy6+qoKW wEtT2j6yRGKr3kNtAFQ1Hxrg4H19AgBhlTrZ120T2uMjOAgtzJpqdMXp5RrORVFO2BKyvlxVbv3 pbvmS3LCYO2aLoJ9pVcxss/u2OQ83cyoD9xvc6BFoV/XNmPsZCbTlISGq2eMY0wqo5wc2//OmVg pPmll85eKloj8qOtvVGVtallXv/hRmsr7Dk7gdZS6iFEGUsjQ1rcMg86rQoZm6NlKZ8RBNR3WaQ Jkc7w4r7mlooVY= X-Received: by 2002:a17:907:97c4:b0:b7d:1cbb:5deb with SMTP id a640c23a62f3a-b93f11d67e3mr345346266b.27.1772691115747; Wed, 04 Mar 2026 22:11:55 -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-b935aec3243sm849355966b.53.2026.03.04.22.11.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2026 22:11:54 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Thu, 05 Mar 2026 06:11:52 +0000 Subject: [PATCH v6 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: <20260305-gs101-pd-v6-3-8cb953c1a723@linaro.org> References: <20260305-gs101-pd-v6-0-8cb953c1a723@linaro.org> In-Reply-To: <20260305-gs101-pd-v6-0-8cb953c1a723@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?= , Marek Szyprowski 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) Tested-by: Marek Szyprowski Signed-off-by: Andr=C3=A9 Draszik --- 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