Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6201752pxb; Mon, 14 Feb 2022 18:33:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNvaYwjlq5ntOEgKd5CvFVjYAOr7E+vKCwsH/g1KQseASZhxujYVIcO7PrVs0aLE7TOYGd X-Received: by 2002:a17:90b:3ece:: with SMTP id rm14mr1932092pjb.121.1644892421516; Mon, 14 Feb 2022 18:33:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644892421; cv=none; d=google.com; s=arc-20160816; b=I0UYOma6RpRHHanbXBN+JArv3YJWj1Yn503wvvBHytjeaUxmY7NUSC6Imqqc9MoqwF rrBoX1/HcrgpUyl+3GvPIT62BkWqdl5WcJm+R5FwvIf7GbGDywtNFRM2pxXVb3MNsP+t 18d1PSUiGd9Js04baOGtWlqZuCVwWq4yo0LSYJRKvj7eLhs4N74TGiwhVSrIkarMOY2p fH9m/2EoKr2czO3+t+f6bjAa6tnU6qDG8eq6Gmm28eM7Wgp4hQBgHkFOaMNKTMf9/wzY f/koZtMZkC2265wvxIoerdMQkyqHQwcEXN9XfXHiuDBj2jd+vskLPmXuCgW8j1nxD7DY LgqA== 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:to:from :dkim-signature; bh=rXTrjGyqcJ3i7iMn5DJq5QR/kPtoX00uoKdkO1EvWnA=; b=DF99rE1vPG+AiFQqdprwGMSlQ59hPNDl8UP2Xp7GY7m4mwoGdUxFG3WGR2eAH7Q5wW +N7H9y/4q2YpyD/ZDmuioXBsgseyNAeDSxFY4mo49GCiYBUNoQtdvjWZsb0PM045ZV+l B/N19vRdIC3ECAVBIQ4tBCWO5Xqmm4z260VhCEZ702+uQ9XL/ChN8tkOs+cEUMvxmEpP ST4OGsJDA1qVi320D0A621Bt9Uja251iRnIsSpTchEoHWKXtszUTTIx9aLGrwQaNil/d /30F9hcl5eeiTDbFHHo2F6V43NmhJqVVRanS/QYJfYzrwQKuIHx/fuXhitq+U+5RGlUo m9Bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=avnyN02u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om5si3410373pjb.160.2022.02.14.18.33.24; Mon, 14 Feb 2022 18:33:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=avnyN02u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231310AbiBNVXU (ORCPT + 99 others); Mon, 14 Feb 2022 16:23:20 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:48848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231214AbiBNVWo (ORCPT ); Mon, 14 Feb 2022 16:22:44 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C65E513D551 for ; Mon, 14 Feb 2022 13:22:24 -0800 (PST) Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.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-1.canonical.com (Postfix) with ESMTPS id 9AE0340038 for ; Mon, 14 Feb 2022 21:22:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644873743; bh=rXTrjGyqcJ3i7iMn5DJq5QR/kPtoX00uoKdkO1EvWnA=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=avnyN02uYJn1eRXlZJdh5sMJmMJrC2cfTjdAFrWoyR5VlFVgcpHRY4NLK6YRohBsy 4LhJTTX8C1DxA40JNipmWw7s3+eBmyzYCDUmlEHPOofG1kmhrUEZMX/S1AlXVe9QfB gWEAQHMG6GqDP58ugu7Mqp9/jBDHmHF6NCahqDUN4xTkiWAS4fg+Vn9Hcfb+wz8jAs Rfh7wXT+ofdCeLvJmGbhY11bmh7j53swFtPiAMgllavlLh/g0L9+4Gvm8t2WdNKmA6 aIH0fZxEWsXeH9F8Nn1FzUGwDSKt+gi0b1zeNE2c8Fmy5+MHlawceiWkE+Wsf1WTTw GyWY6PKxTWb/w== Received: by mail-wr1-f69.google.com with SMTP id q8-20020adfb188000000b001e33a8cdbf4so7376764wra.16 for ; Mon, 14 Feb 2022 13:22:23 -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=kb9XpbmQBXRqV4i+yOV/ZE1//RYdrxTFKg6Dbod35zR9FLT5DffDvrpUxvT25o/frw I3ZfZYOgAIqZw+Ws7JqXfZCDZVaF+zqKnI/MfSbrNAp5zvAdwwLaz5vOWyjRkmveQUaB jFmUUAf+qrAhkFQ1RX4lNt3g8TOvDWUTr8ecXOFfRu/NbyWxhaaR1t3TjYHAUwRVSh3g WRzbDh3OHaWjd7MbfcD8MNeqUbPjK3vjT7ihnQGkrQk//yvCxXIRMMxOWCF17fHRVmVV cp7kRxC4oiyPuB744k4ThiryrsHD0TxaXj44Dd4TKrKV2vTwj8hnEveVJS8LgeFdt1/I 4B7A== X-Gm-Message-State: AOAM533g1L1ZMNXhyhEGaEwM3NCiuisX3NLNce3gaDlFh581CCbvIZud mmmmyG4aLFab+xTfXVt4BKYGKIqYFMtlzRD4Lgk9ND27gGG+T84uVwVli7lmG5EcE/Q/uaBIBQy RGrIWQwPT0IzourLY5NZBg1RQeMVALItOYsU57SazUg== X-Received: by 2002:a05:6402:34c7:: with SMTP id w7mr750371edc.397.1644873733083; Mon, 14 Feb 2022 13:22:13 -0800 (PST) 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=20Kleine-K=C3=B6nig?= , 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 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: X-Mailing-List: linux-kernel@vger.kernel.org Include generic pwm.yaml schema, which enforces PWM node naming and brings pwm-cells requirement. Signed-off-by: Krzysztof Kozlowski --- .../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 -- 2.32.0