From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pz2-f28.google.com (mail-pz2-f28.google.com [74.125.228.28]) (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 BD0F543B3C0 for ; Mon, 14 Sep 2026 11:07:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.228.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789384073; cv=none; b=MEvPSBXAE+jWpeDAcx+jTas8TK4ct+u9uQZboMvqFI7vttsnuqcfg2h0tfNOKiOrgMA/+X9Z3N295dDkKQ63P9XMzWOl44gJ+FWX7mZxTBqBzCM1m8unJsKaYADsNhCDsmiAq912hsbS8lu+/06/wEUlhgkvZfNLZtGyAUaWrgg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789384073; c=relaxed/simple; bh=10R457NwGTvH71mGj5Kfmru+y69/XctIcBwhK8pKzak=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=N7nZ76BqV0Ir/dTbnzqHrY0x4AH629RGixtTpEn2fVYXbneGu5Ms/fn54zgARY8y3lQQL54qf0ZInIe3KBAd2xPjdrycee1C/EdymJRJFDmHy1GRQjRhukve9WjFJkNeAYnny865VhjLCONmKhcgHAa9uUVSKkUXhsvtrSnpEeE= 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=KrrJuZPi; arc=none smtp.client-ip=74.125.228.28 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="KrrJuZPi" Received: by mail-pz2-f28.google.com with SMTP id 41be03b00d2f7-cc4ab4fe290so444150a12.1 for ; Mon, 14 Sep 2026 04:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789384071; x=1789988871; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=CQu/v9VbPVOFvypxy+vSIVqVZUuLUc8YlsM7QgQ5RmA=; b=KrrJuZPiV7i+7USsDBMaltpv5NLKajZ94OMG6U+oSfvYOspwGbZLly0dqcG8E+Q01j i6IZBii7ruhRq1VnbxB4jpQnqcGGiT1WprYmGbxBKp4+4ZxjPA18utnvNYbaMH0HZaP5 sX+CzYLjk4paJv7S+hbGHbZIpMjMTDQfvtqVtbFrAmzqV1fMNCOBV2teY2iXhroR7pz3 oPqy3TcWuab+DwSVRb5V5KcYIFANr2tUmDSjKb+78Eu9B8v/uxmCDbxblIcsTUEy4eu1 4ScbmVTweFDeMcUCX18W0JwC+okI6axKy4hmGSVVACTdidY5aG8gOSHXgMbsstGyhYtK eieA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789384071; x=1789988871; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=CQu/v9VbPVOFvypxy+vSIVqVZUuLUc8YlsM7QgQ5RmA=; b=IXH3PKBLQ9cvoQaijh4eSTJ9rAkrozihv1fREMh6p28Ie/Uz7D41hawxAwQ7j8rLE4 FUSGCrsiQMvq0bI8zVDnOAcL9zvBNxzuDsy8M2mSmCbku+EZxFYVBenK4SD2BWr1+DAj FfNYwMNcU0jflPO57+UfbZzagAyVLJccliPPXBhMKT76E4nERH52ipkqLnEZFMYvSi1y zAjuFtLJI45erK9/aY2IC/JOHR5RHPtxiCnjHFPhBt2Jgb0N4T6ZaPasH4+/0v3AzJlm tKV6A6Kr99xfZstQ5BJA+xLV7+r6+mU//T+3lw3DD/2tEzCP1COj+0NX6egzT5EWJm9s G6Ng== X-Forwarded-Encrypted: i=1; AKwUvBxKxAMdWhaclzDgxq7DeMytX3FEq2fxU3a67Dz6dJsCAUvhjjMF9cmxGBSVoeDyCH7IkDz8G7iJ5rR20DE=@vger.kernel.org X-Gm-Message-State: AFuF++k4ZEuHoLvbDeN3C7Pq3VgBTBPfgEYm1YZra4dLhXQb9LeGTUmp 49auE8hjnXc02w5M6yiCgezkgAPXD9uz+Vf1su1XYJzgF/yaIZsztx5q X-Gm-Gg: AYBFou2G/n8Mmr0dx/AGHIqhArtCMxbGKtqGrd3UAp0ESJrykr45ZJuzGGiBmFBTf2O G1YMoij3/QD1LdWwUb8dGG53YihWnvsdHjPgc/eTu5GIlWGV+tLN400pYGbUvRpWHBIryVM0I4I CtkFrvzOMaXEJ4T87Mr2PGQM/dErtmeLHh3t9l8urY/PKKFKQpFEJZfUwNsbEjQtKBOXoL9XLO1 ssaobpE6eowwDtvcbaKPp8VmtM1+ACvZn4Adg/M5otrcMsY8Xo8AbGqrDJrmcOGrHwW9lTS8ofT JyIk/q7P6Be98/+ah9DUCBZ6P2O/ANO4ZYje/yS9ZLNetVYG1qvLkeqkVidEYFu1ZyeBtPoi0YD R+Ud0VqjmLDu3l7xlN0vbCVCzo16auiedr5GggUxAvRV/eTLELC+jWZDM5jrgkg1B1+XqZbgO/H MC5sxxI+fFfCoWOAdm/VAKlDJAu2nJhNg+aS1OE1Kq3py/fkN17ed044/uP8KpaZQlMbvh3hAtV PUiS5PiOYjzxyDil3yB14meQaFHDVwTdNoEe0HOkDeOLDnF7aLo2gwv4RUg X-Received: by 2002:a17:90a:e7c2:b0:38f:de94:bf34 with SMTP id 98e67ed59e1d1-39dec497e11mr2160746a91.10.1789384071050; Mon, 14 Sep 2026 04:07:51 -0700 (PDT) Received: from localhost.localdomain (60-250-196-139.hinet-ip.hinet.net. [60.250.196.139]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-39d9540fd76sm22996627a91.9.2026.09.14.04.07.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2026 04:07:50 -0700 (PDT) From: Chi-Wen Weng To: ukleinek@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, cwweng@nuvoton.com, cwweng.linux@gmail.com, Krzysztof Kozlowski Subject: [PATCH v6 1/2] dt-bindings: pwm: Add Nuvoton MA35D1 PWM controller Date: Mon, 14 Sep 2026 19:07:38 +0800 Message-Id: <20260914110739.203479-2-cwweng.linux@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20260914110739.203479-1-cwweng.linux@gmail.com> References: <20260914110739.203479-1-cwweng.linux@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Chi-Wen Weng Add device tree binding for the Nuvoton MA35D1 PWM controller. The MA35D1 PWM controller provides 6 PWM channels and uses one register region and one functional clock. The binding uses the standard PWM binding with three PWM cells. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Chi-Wen Weng --- .../bindings/pwm/nuvoton,ma35d1-pwm.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/nuvoton,ma35d1-pwm.yaml diff --git a/Documentation/devicetree/bindings/pwm/nuvoton,ma35d1-pwm.yaml b/Documentation/devicetree/bindings/pwm/nuvoton,ma35d1-pwm.yaml new file mode 100644 index 000000000000..47a59bdd14d0 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/nuvoton,ma35d1-pwm.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/nuvoton,ma35d1-pwm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton MA35D1 PWM controller + +maintainers: + - Chi-Wen Weng + +allOf: + - $ref: pwm.yaml# + +properties: + compatible: + enum: + - nuvoton,ma35d1-pwm + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + "#pwm-cells": + const: 3 + +required: + - compatible + - reg + - clocks + +additionalProperties: false + +examples: + - | + #include + + pwm@40580000 { + compatible = "nuvoton,ma35d1-pwm"; + reg = <0x40580000 0x400>; + clocks = <&clk EPWM0_GATE>; + #pwm-cells = <3>; + }; -- 2.25.1