From patchwork Mon Feb 14 21:21:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12746132 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 157DEC433F5 for ; Mon, 14 Feb 2022 21:30:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e4gIUW+ziAeumUZUZfMgOiUYH8IP6h0NiRFB0V/HnSQ=; b=zLrXQNHjVVUcSB vW3H/6Pof4+bMM1F5SnIF6n6a+ba0LFi7NPUx6cq6hQxZgZ4AbmPKWy2E30M4jxHdbGIfiv74XeUC RltybWIi4HH3fp7FyBZD10w+4b2Ky2pKPv2rIQeasO424MmJUJGsJ99Dc8P6gtoH1I26Vxiddv+pk QPzBKYRRqrdLpOvdrZSqRWpZxTea1FBkn88kkrRgOEX1exbkNKSOSD8uvGxMFiL46cmvsPwNNwT+T r3uaBg2hmMu4zFoRqKkFaAJJizZQ/4WRO0VuPhCrSXb6fRYK/s6DJiaHK9Y5aEfVfGwhZn64Qekgf Yh+r67kTUQQCPrIvPgJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJitd-00H11I-FC; Mon, 14 Feb 2022 21:28:34 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJinW-00GyGA-Qe for linux-arm-kernel@lists.infradead.org; Mon, 14 Feb 2022 21:22:16 +0000 Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (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 593373F071 for ; Mon, 14 Feb 2022 21:22:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644873733; bh=rXTrjGyqcJ3i7iMn5DJq5QR/kPtoX00uoKdkO1EvWnA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=j81exutN2+iJknPijKeF4yCdnq3nXUfT2cI+LqmnboHPbXQOAQlGkJ5ZWSBmhepEn nb8ud3F5zyG4B6jJ4K5q9iGA7myQfmeemerzZW2kEjZNAll+2qlL06KLcCLeav4tVh 5DRRiZWRlubsxxy1Zla5kzRAUWkKi9q8DZxXl8WvX6EM68wCbjujaefCpojTeB6iTJ foOpd1XS0zK/6NtWI1zpTt7D9DQWmcsfaBgP2dVaXVuRzADczpfsQvUBdMs2FZ4Yzp lZ/+NSAQXBQlPGjgZ+f5XjmVNV7iSpuSP9EBsYsnutMk0BKsqE6axiwOxxfFP0lohT +BVPjLm9XV4Og== Received: by mail-ed1-f69.google.com with SMTP id b26-20020a056402139a00b004094fddbbdfso11087943edv.12 for ; Mon, 14 Feb 2022 13:22:13 -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=A0/kDXlWgZLlVS1UMUnaLCpt1A7aEtVt5NdyYT1EbKoo7CRFBS3dmPH60J6kucUAZx pj1tdnVC78ob1spHbK8x8k20PsocCwZv4yx+e23RCFBmz2+MCtAIO97BcC1P7MlEqhTP rLgPnyRAZrVsjfFGrXLRHbAGb0KCgTKnKj7pRmOmmm8t01uBHoQ6JYZjV5wZaw+WpV/E S27RXg4EXL3l3ofVineUw/3jJk0stHZxgh1bdmjG/KA5U2F4ExQblErWhYyKb+TNU6UV 7Svjdew6317h6tlgMOmKt0bSLU5KF9tl13h6uIrjbZ18FiF2jADHUUF+l6cf6P4w+rVR UiUg== X-Gm-Message-State: AOAM530TGTJP4f4/PV81DJCref4clOsnyOGIWofJnVI+6Sx7lzxSQIyl gR/U5SaWVkbCHTsXprc4066SQHgHDjVspkNgMQjoirt9tCC1mwykuzYNGhNobYM38xJ8lenlKsS kcmzYF56a+s3Nr9c3M89XKc5XfziaYceBG26HWuiy3+zUoBJjLfoF X-Received: by 2002:a05:6402:34c7:: with SMTP id w7mr750376edc.397.1644873733088; Mon, 14 Feb 2022 13:22:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxhpmbRreV1af3l7NRnMOVACbyZVoBFnimePwQQgpSt+JN3lhtVVBwqSExQGXUXAJA1H+Jnfw== X-Received: by 2002:a05:6402:34c7:: with SMTP id w7mr750338edc.397.1644873732938; Mon, 14 Feb 2022 13:22:12 -0800 (PST) Received: from localhost.localdomain (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id v24sm2327203ejf.7.2022.02.14.13.22.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 13:22:12 -0800 (PST) From: Krzysztof Kozlowski To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6n?= =?utf-8?q?ig?= , Lee Jones , Rob Herring , Krzysztof Kozlowski , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Heiko Stuebner , Palmer Dabbelt , Paul Walmsley , Nobuhiro Iwamatsu , Philipp Zabel , Anson Huang , Vijayakannan Ayyathurai , Rahul Tanwar , Jeff LaBundy , Yash Shah , Sagar Kadam , Vignesh R , Yoshihiro Shimoda , Laurent Pinchart , 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 v2 08/15] dt-bindings: pwm: renesas, pwm: Include generic pwm schema Date: Mon, 14 Feb 2022 22:21:47 +0100 Message-Id: <20220214212154.8853-9-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220214212154.8853-1-krzysztof.kozlowski@canonical.com> References: <20220214212154.8853-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220214_132215_072438_52F2EECE X-CRM114-Status: GOOD ( 12.81 ) 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 Include generic pwm.yaml schema, which enforces PWM node naming and brings pwm-cells requirement. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Yoshihiro Shimoda --- .../bindings/pwm/renesas,pwm-rcar.yaml | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) 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