From nobody Fri Apr 3 01:29:49 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 574632DCF57; Thu, 2 Apr 2026 02:40:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775097618; cv=none; b=W5KMtvzFhSAV/JEP17XUuSDLKXggs2tY//e1OOuAd1sVkz+ff69cH3mBqSkqu/X+4QdW2bXdTSlybZWNNDpMQqMPAKW/qsu8Eoa/N6e7XUtr6dR+F9cOWUb6kRlCZL9QNHnFEVgvS01m7w3y1ccs+pozvHDkXSs53cOn3hvxz2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775097618; c=relaxed/simple; bh=zmdM0qo8CX3kHCzsu50etCsSTnTDcsKCliyCWlfpcmk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=OIKY8yTGUghKVDxDKkGif1NkI/r3b06VUWl8yEHfxUcCYAzYq8d24xxekWGhMcBj4/EIXwMOxQhB5r4a0SUeXHlhqRqwkkRraI2PCpFJGpqTBc2yk7xGonYQxz3urU+jhV2iwyY01fwugYUQGljyCiHVhhNNzqge7bnsYQYCV6Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YAY7Vf9y; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YAY7Vf9y" Received: by smtp.kernel.org (Postfix) with ESMTPS id 2E37EC19423; Thu, 2 Apr 2026 02:40:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775097618; bh=zmdM0qo8CX3kHCzsu50etCsSTnTDcsKCliyCWlfpcmk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=YAY7Vf9yOJ8K6DwWOBrTe8a7fXq7YwkKKXSlYyyiJXAdH6y/m+RjjAJnOHCN79+AY Wg8J02eHCFNZpcpsa3Y8DxyRttJM68aSXOV7JILTBdseKh4FtUo86vYZVqYTxj2Y2c XJ8d3XKFSWwyV+wmnH1oh0X+esh387cYIFsJDOrBXBq4CWJ89JqMq4eSL/yw5sJXEn D5zPdhFtj/T1hrLhhEX1Iq7wHQYEuP2ImrfgyYWO+fdjkn5tEItKrWuqn4q2cWSxgB OZwz4VhvjsvSoERP339nqsxlcJgO0st7iB+35oPGHCyBxZi76a1aXGB2PZ+hu4Y4pq px19SG/bekRGA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A5D51112259; Thu, 2 Apr 2026 02:40:18 +0000 (UTC) From: Xianwei Zhao via B4 Relay Date: Thu, 02 Apr 2026 02:40:15 +0000 Subject: [PATCH v2 1/2] dt-bindings: pwm: amlogic: Add new bindings for S6 S7 S7D 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: <20260402-s6-s7-pwm-v2-1-657dce040956@amlogic.com> References: <20260402-s6-s7-pwm-v2-0-657dce040956@amlogic.com> In-Reply-To: <20260402-s6-s7-pwm-v2-0-657dce040956@amlogic.com> To: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, Xianwei Zhao , Junyi Zhao , Krzysztof Kozlowski X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1775097616; l=1811; i=xianwei.zhao@amlogic.com; s=20251216; h=from:subject:message-id; bh=jS//+H3tRKyNMEGVeMFEtfJwKQUz9wNI3mixje/H5hM=; b=tdms4fS6vPfUsXE80dPyDtDcpNiA+GSo14eeE7/bMZQEqHP9vo135gK1STjJTLRYttbPPVLwY rusXNJflPoTCbeY6PHczRtZANL0ck36hcRCUHSZlpfIMthZXex+EzFw X-Developer-Key: i=xianwei.zhao@amlogic.com; a=ed25519; pk=dWwxtWCxC6FHRurOmxEtr34SuBYU+WJowV/ZmRJ7H+k= X-Endpoint-Received: by B4 Relay for xianwei.zhao@amlogic.com/20251216 with auth_id=578 X-Original-From: Xianwei Zhao Reply-To: xianwei.zhao@amlogic.com From: Junyi Zhao Amlogic S7/S7D/S6 different from the previous SoCs, a controller includes one pwm, at the same time, the controller has only one input clock source. Signed-off-by: Junyi Zhao Reviewed-by: Krzysztof Kozlowski Reviewed-by: Martin Blumenstingl Signed-off-by: Xianwei Zhao --- .../devicetree/bindings/pwm/pwm-amlogic.yaml | 19 +++++++++++++++= ++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Docum= entation/devicetree/bindings/pwm/pwm-amlogic.yaml index c337d85da40f..93fa97f4011b 100644 --- a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml +++ b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml @@ -37,6 +37,7 @@ properties: - enum: - amlogic,meson8-pwm-v2 - amlogic,meson-s4-pwm + - amlogic,s7-pwm - items: - enum: - amlogic,a4-pwm @@ -45,6 +46,11 @@ properties: - amlogic,t7-pwm - amlogic,meson-a1-pwm - const: amlogic,meson-s4-pwm + - items: + - enum: + - amlogic,s6-pwm + - amlogic,s7d-pwm + - const: amlogic,s7-pwm - items: - enum: - amlogic,meson8b-pwm-v2 @@ -146,6 +152,19 @@ allOf: clock-names: false required: - clocks + - if: + properties: + compatible: + contains: + enum: + - amlogic,s7-pwm + then: + properties: + clocks: + maxItems: 1 + clock-names: false + required: + - clocks =20 - if: properties: --=20 2.52.0