From patchwork Mon Feb 14 08:15:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12745141 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 7CDCCC4332F for ; Mon, 14 Feb 2022 08:19:57 +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=b7LbF8WN5akwva v64KRhR1P4IXD9wd7ROlsA/i73davczKkSNtA5EuGbJWijb96bQqeGdFM/BAYE29DP/EpK2qpJKtm ePemBMGTRccJME3+Tr2MhSmfvBUS4XyREGbvWV5WJxeuS3VFx7TZQPXRwYQmzzLG2A0y/qPxZ9TCQ nJ+hZzznDslDcd+ZhEvga8qTlnoMIMROfXFOYwiBpUS685FAnc6YfSAsO8El+9ZEUxq+3m3suRS5b yx88U3Pd2OJq5WSjj3vYzgeQlmqHypbGBbZkOMgfMMa95LWymAG+WMRmtsedKGPlYC8MtNMYigNEA 7tOhAc+ADM1oEqmTYFhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nJWYr-00Dq81-8y; Mon, 14 Feb 2022 08:18:18 +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 1nJWXX-00DpKD-BL for linux-arm-kernel@lists.infradead.org; Mon, 14 Feb 2022 08:16:59 +0000 Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.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 9673D407DB for ; 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-ej1-f69.google.com with SMTP id o4-20020a170906768400b006a981625756so5516155ejm.0 for ; 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=MSW4xW3l66Oavpbje7HCv/tB14eXFNt3u43A7zaS9yH1/pA5lHt6jPsUCKRnPZ5XyO 6gQO5h0rSsn5w6QmpYTiyxruJ7nYmeb0uPDS6kQahsgfUKWpX5XQrrZ7KWk8f+kGT8gA REtR0M7FtY/kXyFWxdSQuEmZZO+Ra5G+fAg21Z4busOpzxt/+ROJyHLNdh65r6eSWl1M /rFQBNuB6ePSXux84EpeMR5Q7L4x4OmE3TG6fTAlUDmIWMLnGLdO09lmQx1ou/lAK0L/ Ktuoo9XAngFBsuNbYaMHPJ83QuYlk9erT2m+EuUne/CzrNeMZXxaCRlCtNvz/yJTj/R7 VvGQ== X-Gm-Message-State: AOAM532UU5Fq5Ugu3FNDajnmME1oI0FomKnWfT5BJpwALyPRxF4jT63V 0zoRykA923kjpOvtwQSHR7lYgD124V44KxhVn3ot/XYHZdMs4rizOvA7ejIoxnOYlYb720K6ulA R0RE2cRuoLbCjxY2LxnUvEYJO4KKvFywD0ZddK2fNxVvVAVoTgpeE X-Received: by 2002:a05:6402:c1a:: with SMTP id co26mr8160850edb.442.1644826612061; 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 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220214_001655_560586_92821262 X-CRM114-Status: GOOD ( 12.79 ) 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 --- .../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