Message ID | 20220214081605.161394-8-krzysztof.kozlowski@canonical.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-pwm-owner@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=XguQib6t; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-pwm-owner@vger.kernel.org; receiver=<UNKNOWN>) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4JxxsD1jflz9sCD for <incoming@patchwork.ozlabs.org>; Mon, 14 Feb 2022 19:17:04 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241709AbiBNIRE (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Mon, 14 Feb 2022 03:17:04 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241728AbiBNIRD (ORCPT <rfc822;linux-pwm@vger.kernel.org>); Mon, 14 Feb 2022 03:17:03 -0500 Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A055F8F1 for <linux-pwm@vger.kernel.org>; Mon, 14 Feb 2022 00:16:53 -0800 (PST) Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 4E873407BA for <linux-pwm@vger.kernel.org>; Mon, 14 Feb 2022 08:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644826612; bh=rXTrjGyqcJ3i7iMn5DJq5QR/kPtoX00uoKdkO1EvWnA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XguQib6tqbQdHn2xFczwuTV9mnJe52komOQN1koFGv95u6P2pbaz8YonvIdH3LHsh jphP7OwoTCNldHaEcDFVqdFgSXhiOO0jhZyhHIhK9Czvdfruq8jj+9jHY8nLiUo/gK vqFOfdB2MZE+Lr1LRc0El3+TKF+aU2Wg3OPKhU7/jXMx62+u/BFnMVY/xJJVoRksYb 1kpzFSRf+syeTny0SBg0unbbNn4t/ANMMILrFG8MdYOrEX0qY3SNmS0K3p3CxpLR22 gD0DrZlj6PLBVwRhiQZvOUaVOcKmmsKNXYTsddH3K1cRcfi4d6SDeaRudhJ6Zre+GF InqLUFQfdzOUg== Received: by mail-ed1-f72.google.com with SMTP id b26-20020a056402139a00b004094fddbbdfso9795733edv.12 for <linux-pwm@vger.kernel.org>; Mon, 14 Feb 2022 00:16:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rXTrjGyqcJ3i7iMn5DJq5QR/kPtoX00uoKdkO1EvWnA=; b=2DwKBGG5GbvIi0OSo22Cjp09eirN0zUnIBi+w3hUjxGJcS8WLxOITZu7Xdaml85upr PDA8yElGy1RyQGpt9FktYHYKd+Ob8Ygw1UrWrOIJ89wv/XLReGD7syKDzvzxS9rXP2/Y RVBToENp03eBFL239CLc2FiaWziDbgIFzZiMgxzvpAzhLcgNTJ5pWz8SVcL27Sh5TNXR uhJHn6/eaUgPjgt8/UD3/W4UHiIvMwHS7YEPO+R8UZb+ODYleRZBmgG8nfH6Vmh4ayQk F68XGKfy6fYF5u8ZGHyPw1nKyGMWnB7ofcdSsUUdf7DRwh3xrF4z4EwZot4BlCs5GJe8 k3yQ== X-Gm-Message-State: AOAM5313nceWPay8/lZQhr8Hzhx0jwvggBJa83KHaJh8wrC0rWsI0Kr0 OyQo3dN88cScT6Q9/yv/uUy0xi4D/XAOZlgOQeIIwJCbl7tGCpuZ5TEgLYA1KvbbIuG6bjvJrRC AsAgeJO77/b8R+hhfm1dLq/osjKjvy4ze39rDLw== X-Received: by 2002:a05:6402:c1a:: with SMTP id co26mr8160835edb.442.1644826612060; Mon, 14 Feb 2022 00:16:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwS9jQ9wGixoRtv+jL2Y9f4opmRogKX8GhZRCH8lW8x+aJuR/wbCf92drFjmIbNOrRWeCUm2w== X-Received: by 2002:a05:6402:c1a:: with SMTP id co26mr8160813edb.442.1644826611896; Mon, 14 Feb 2022 00:16:51 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id t21sm3363642edd.74.2022.02.14.00.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 00:16:51 -0800 (PST) From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> To: Thierry Reding <thierry.reding@gmail.com>, =?utf-8?q?Uwe_Kleine-K=C3=B6n?= =?utf-8?q?ig?= <u.kleine-koenig@pengutronix.de>, Lee Jones <lee.jones@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>, Maxime Ripard <mripard@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Florian Fainelli <f.fainelli@gmail.com>, bcm-kernel-feedback-list@broadcom.com, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com>, Heiko Stuebner <heiko@sntech.de>, Palmer Dabbelt <palmer@dabbelt.com>, Paul Walmsley <paul.walmsley@sifive.com>, Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>, Philipp Zabel <p.zabel@pengutronix.de>, Anson Huang <anson.huang@nxp.com>, Vijayakannan Ayyathurai <vijayakannan.ayyathurai@intel.com>, Rahul Tanwar <rtanwar@maxlinear.com>, Jeff LaBundy <jeff@labundy.com>, Yash Shah <yash.shah@sifive.com>, Sagar Kadam <sagar.kadam@sifive.com>, Vignesh R <vigneshr@ti.com>, Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>, Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>, linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-riscv@lists.infradead.org Subject: [PATCH 08/15] dt-bindings: pwm: renesas,pwm: include generic pwm schema Date: Mon, 14 Feb 2022 09:15:58 +0100 Message-Id: <20220214081605.161394-8-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220214081605.161394-1-krzysztof.kozlowski@canonical.com> References: <20220214081605.161394-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-pwm.vger.kernel.org> X-Mailing-List: linux-pwm@vger.kernel.org |
Series |
[01/15] dt-bindings: pwm: allwinner,sun4i-a10: include generic pwm schema
|
expand
|
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml index 7ea1070b4b3a..1c94acbc2b4a 100644 --- a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml +++ b/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.yaml @@ -59,21 +59,23 @@ properties: required: - compatible - reg - - '#pwm-cells' - clocks - power-domains -if: - not: - properties: - compatible: - contains: - enum: - - renesas,pwm-r8a7778 - - renesas,pwm-r8a7779 -then: - required: - - resets +allOf: + - $ref: pwm.yaml# + + - if: + not: + properties: + compatible: + contains: + enum: + - renesas,pwm-r8a7778 + - renesas,pwm-r8a7779 + then: + required: + - resets additionalProperties: false
Include generic pwm.yaml schema, which enforces PWM node naming and brings pwm-cells requirement. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- .../bindings/pwm/renesas,pwm-rcar.yaml | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-)