From patchwork Sun Apr 18 11:09:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12210031 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6DCCDC433B4 for ; Sun, 18 Apr 2021 11:11:23 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EEA5C6120C for ; Sun, 18 Apr 2021 11:11:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EEA5C6120C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=vfXnxkwFqk24JZHAEoZbiBwYoNrChNX7vWklU74WzsE=; b=E3PUZCGc59/S9Z1Bbe4oHuuqM 3rpp8s9LRbQg7R0/Pxb7rlX0d73hF84OKt9PGIqkOp0WmUUtEHquXoxLWUOkLAGWSZSr2HPzXcK8d 5d3ixMLihAMjcAutUlHMCyWCi4nGQvb/8PeyvzssjXQ3ZuJ3wHREl25d55IqLezwJMMcRYCfjzEsl YKt6dSNemJngLSub3Tf3dODrKTfhfoUcRVITN3ptCqWuXVaciN0iaQ8/t7fUBp/0d9ylbquJWoPYC tElf7Bchyk1i3R9M5wwRbCMpxpB/TUlZwyrYZdHmqmtHS0vQJ73SqCdJzkyPHtval2jotPmkCjbKu fUUbAMkTg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lY5Iw-007m8S-1f; Sun, 18 Apr 2021 11:09:31 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lY5It-007m7x-5m for linux-arm-kernel@desiato.infradead.org; Sun, 18 Apr 2021 11:09:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=2pdG2mPuadzvBPIfsXqZ0JY4p764EIxJ2TBxLgIhuCY=; b=VOWV7VYYEq1HFI1iBW1KcrmgJ2 CrbKmjkDzBXhVU24TLv+vwFmYRybibzIKpIekgnKcv8LDVWUJpRqZ5Vf4ZkkA0yiGIKRi82/cNoRq HcyMwyQ6jZXI/wzU6RwFLL1LzMhj3ZnVyK8+gVVtQlbydAfNpL70JmUZkdfiEeJZbrgrCRypqr/I3 ejyZdULzgmK/7jZaug1YJvX7ukforHXxAugglh07lacXuRYudHSsMvPMDmQkjGELFI3SUPZtfnM83 onOWieH7LPjLjrAZSz/eIY4mZk9pXvxAvIawh1HXSsQA/3kHQCrR3aqFBDOH76MnTX+dbWhiH+LyF aHDOy35Q==; Received: from mo-csw1116.securemx.jp ([210.130.202.158] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lY5Io-00AOqo-0X for linux-arm-kernel@lists.infradead.org; Sun, 18 Apr 2021 11:09:26 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1116) id 13IB9CkH003069; Sun, 18 Apr 2021 20:09:12 +0900 X-Iguazu-Qid: 2wHHJLHH07xBzaK9RI X-Iguazu-QSIG: v=2; s=0; t=1618744152; q=2wHHJLHH07xBzaK9RI; m=iJXnjyHRFYdtaCI0PJvigV0jdAvBbIc14eo/qe7KI6w= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1110) id 13IB9BIS036070 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Sun, 18 Apr 2021 20:09:11 +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 13FE71000B4; Sun, 18 Apr 2021 20:09:11 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 13IB9AXF016774; Sun, 18 Apr 2021 20:09:10 +0900 From: Nobuhiro Iwamatsu To: Rob Herring , Thierry Reding , =?utf-8?q?Uwe_Kleine-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 v5 1/2] dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller Date: Sun, 18 Apr 2021 20:09:03 +0900 X-TSB-HOP: ON Message-Id: <20210418110904.1942806-2-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.30.0.rc2 In-Reply-To: <20210418110904.1942806-1-nobuhiro1.iwamatsu@toshiba.co.jp> References: <20210418110904.1942806-1-nobuhiro1.iwamatsu@toshiba.co.jp> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210418_040922_351953_21F2BE46 X-CRM114-Status: GOOD ( 12.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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>; + }; + };