From patchwork Fri Apr 9 09:07:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12193429 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,URIBL_BLOCKED, 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 76BFBC433B4 for ; Fri, 9 Apr 2021 09:10:21 +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 16A7B611C0 for ; Fri, 9 Apr 2021 09:10:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16A7B611C0 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=/YqboOki1oASNx90OS3RwoASzA4nlpg2aLNjacw2Djg=; b=OsYD7BWK0jGsWy2H8dN9CllER NIu92+E0oVIwTBx3aFhGnOgl+YLdo3T7rAfDcGHjFNDOAvdBqGDxcrXCNbMOeIUNyGg2nrzxDLLJS pCKfTjUJt4wZa/6go0zimFWRrQqvyneCDU/VsA4QUoeyoCuer2xm06l/Cr0mkPOTxdbZLiD6ZyrJ6 omusUZp9ABCTVELsrGyvICYXeLnkGk8m617WOWKuSDQ4BTxzf2si0c7FDZzt7djj8nAyrsik2I6mr xqWyUWg2EK3FsiNbRpcO25kXb6SqBArR3VAe1L22ItclBRxQtF2ge/s8cqA9HZWEoJk/05rtg7McK +W8wWSddw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUn7f-000ApO-Vs; Fri, 09 Apr 2021 09:08:16 +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 1lUn6x-000AeN-JL for linux-arm-kernel@desiato.infradead.org; Fri, 09 Apr 2021 09:07:33 +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=0RBSypmnab23jGKx1hGNgd9r+OXbIncXwpQwOVaTluU=; b=NqKN7hQ+f8tudvPwxap6mHoYcx MwEQky4ZcsyGJY1LLpcZ0J3jkXLNHcCt+LZdrloiSNMiE7aG9Ix+HzHY7H+s6VU9W+skJth4Px5kM tOUNk7SF7TopRlyufnVqSwRPzMa2DH+1hT17BYI2UMaCdcuQqM3jPIuGx3NTA3QMzAj5cjzUYyKJw pCg/5iRe91pmSEOXGfnNnLet1WzXszB/Rg12pZLIpIGn5/HRptBRzr5kZHC1GyPdu6yuHDfo9PtVp fShljyHI1hYg9QHjF3PUS+QatdTU1INWreXjo9MWqBDt9gcFFeGKWR7VpagrsKAX5K25/3P3/D5LE B2Ed43KQ==; Received: from mo-csw1514.securemx.jp ([210.130.202.153] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUn6u-003klf-7n for linux-arm-kernel@lists.infradead.org; Fri, 09 Apr 2021 09:07:30 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 13997G3G003502; Fri, 9 Apr 2021 18:07:16 +0900 X-Iguazu-Qid: 34trYlwXUHYU8LuKNF X-Iguazu-QSIG: v=2; s=0; t=1617959236; q=34trYlwXUHYU8LuKNF; m=rgpuDXC9Tg84Fb6+01b2/YRFlMpqIxHsYD4tFTKKXjQ= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1510) id 13997FNv020594 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 9 Apr 2021 18:07:15 +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 130871000D7; Fri, 9 Apr 2021 18:07:15 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 13997EXm022667; Fri, 9 Apr 2021 18:07:14 +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 v3 1/2] dt-bindings: pwm: Add bindings for Toshiba Visconti PWM Controller Date: Fri, 9 Apr 2021 18:07:08 +0900 X-TSB-HOP: ON Message-Id: <20210409090709.1918021-2-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.30.0.rc2 In-Reply-To: <20210409090709.1918021-1-nobuhiro1.iwamatsu@toshiba.co.jp> References: <20210409090709.1918021-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-20210409_020728_508738_697686D1 X-CRM114-Status: GOOD ( 12.88 ) 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,visconti-pwm.yaml | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/toshiba,visconti-pwm.yaml diff --git a/Documentation/devicetree/bindings/pwm/toshiba,visconti-pwm.yaml b/Documentation/devicetree/bindings/pwm/toshiba,visconti-pwm.yaml new file mode 100644 index 000000000000..9e32e7dbb2f9 --- /dev/null +++ b/Documentation/devicetree/bindings/pwm/toshiba,visconti-pwm.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,visconti-pwm.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>; + }; + };