Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2054406pxb; Sun, 18 Apr 2021 17:05:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQs02JR8Mg9LMeX/J0g6Qdg27spKwbXDqnc2hq1xAJEcKWrgQDyKTVx0FlssgjZ+gOZwfU X-Received: by 2002:aa7:c957:: with SMTP id h23mr22181476edt.301.1618790748569; Sun, 18 Apr 2021 17:05:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618790748; cv=none; d=google.com; s=arc-20160816; b=aXtPXrAg61g3tm1kBoZUkE29JTZhOLZa00PcnofeZLRpF7UKt5dqek37OYHTlv9IFt QCcxdl1yEwRPBgoHYqxhX6efSC4RYLOzZtoNsQluQ3CZbog20GETubvMMTzCnqcRTnSB WTmRDAB8iowBFN6fbpbqCNo+ILjCSXLYbSdZeDUwi2u2ms9MwzcTkjCZgA6cY8478axA z2VDtCgf9SOU+Os41QEFT7mSm5tbCyCwtWqLhrOzZeRppCEOrrUorPxCGVpar3Pv+BH3 J+VNgLa/PDj507kpaMAqaITL7CKVbhyaHbnZFQaGzggjnZ18df7BWZtBPN12+M9SoqTj jTZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=2pdG2mPuadzvBPIfsXqZ0JY4p764EIxJ2TBxLgIhuCY=; b=fwl9kqjJ8CGHvAzYhmjRshsCaNHVYOEhKdCRZrUw5epuQD5bZ8OJIcdCAj7Ex9qdi+ 7QAQQC6djrdDVWvoPnU1LMt55tRi++9zoox3ghY4IlDLNoqiOsCmWxSKeI5v0AIBAYmB BmsE95XiRBsyD89Bo1NKcEUjOwRTmJZPLCFrwvjS1Jq60c5UkQTHW89XEeOwruCAi1Xw dU+vW2yEV2ZX8mbvsPQ5fduoks3ltc3drQh40dQrYwVg3vd+dNcvC33rbFBBnOuWxbtG KO99+j1sHHTCbQVJnuHpxKMhWd58ESBNeDHtm38RLhyCpuJvSR15pj0Bo8bjnjS1BRrI tQDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si7754480ejb.256.2021.04.18.17.05.26; Sun, 18 Apr 2021 17:05:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=toshiba.co.jp Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236981AbhDSABy (ORCPT + 99 others); Sun, 18 Apr 2021 20:01:54 -0400 Received: from mo-csw1115.securemx.jp ([210.130.202.157]:35578 "EHLO mo-csw.securemx.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236839AbhDSABk (ORCPT ); Sun, 18 Apr 2021 20:01:40 -0400 Received: by mo-csw.securemx.jp (mx-mo-csw1115) id 13J00mFs005342; Mon, 19 Apr 2021 09:00:48 +0900 X-Iguazu-Qid: 2wHHDhxhkSqFDgunU4 X-Iguazu-QSIG: v=2; s=0; t=1618790447; q=2wHHDhxhkSqFDgunU4; m=bSI9vm50ZitVrBUKhnOZZ5HUX2GU6gHVq1ZVUX65HxA= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1113) id 13J00kCQ028669 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 19 Apr 2021 09:00:46 +0900 Received: from enc02.toshiba.co.jp (enc02.toshiba.co.jp [61.202.160.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx12-a.toshiba.co.jp (Postfix) with ESMTPS id 4F1E31000B7; Mon, 19 Apr 2021 09:00:46 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 13J00jjF002370; Mon, 19 Apr 2021 09:00:45 +0900 From: Nobuhiro Iwamatsu To: Rob Herring , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones Cc: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, punit1.agrawal@toshiba.co.jp, yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nobuhiro Iwamatsu , Rob Herring Subject: [PATCH v6 1/2] dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller Date: Mon, 19 Apr 2021 09:00:06 +0900 X-TSB-HOP: ON Message-Id: <20210419000007.1944301-2-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.30.0.rc2 In-Reply-To: <20210419000007.1944301-1-nobuhiro1.iwamatsu@toshiba.co.jp> References: <20210419000007.1944301-1-nobuhiro1.iwamatsu@toshiba.co.jp> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for the Toshiba Visconti PWM Controller. Signed-off-by: Nobuhiro Iwamatsu Reviewed-by: Rob Herring --- .../bindings/pwm/toshiba,pwm-visconti.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml diff --git a/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml b/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml new file mode 100644 index 000000000000..d350f5edfb67 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/toshiba,pwm-visconti.yaml @@ -0,0 +1,43 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Toshiba Visconti PWM Controller + +maintainers: + - Nobuhiro Iwamatsu + +properties: + compatible: + items: + - const: toshiba,visconti-pwm + + reg: + maxItems: 1 + + '#pwm-cells': + const: 2 + +required: + - compatible + - reg + - '#pwm-cells' + +additionalProperties: false + +examples: + - | + soc { + #address-cells = <2>; + #size-cells = <2>; + + pwm: pwm@241c0000 { + compatible = "toshiba,visconti-pwm"; + reg = <0 0x241c0000 0 0x1000>; + pinctrl-names = "default"; + pinctrl-0 = <&pwm_mux>; + #pwm-cells = <2>; + }; + }; -- 2.30.0.rc2