Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2570041pxj; Mon, 10 May 2021 06:08:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9/ZAjkm1CwvQ7XWO2w9EuFfk1zdIxUvTHtF7xPHTbP/N/MD8asT3kfQ0/jQWTn3ZkdLmC X-Received: by 2002:adf:e3c6:: with SMTP id k6mr30776180wrm.236.1620652125983; Mon, 10 May 2021 06:08:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620652125; cv=none; d=google.com; s=arc-20160816; b=tZPbwUCRcqxgvFb6PQz/Wp3QH0e3dlbcebQDHkLOgxzCXbsAwdqbj6A7aHzXjvRkrH a8Wn4+uOvxHtUW4lKAv5RbXKrDxjZJbKLWjJXG24lwbQJdCxe1XuvmJrRpRIv3ppn4IK t3EIVYrY+PBpkSnWTtKUmNdpibVTWtZmY1EwQbREiN6SAVShLKlDX5NjZcWUu40CMkM8 vO1Vuneoj0Cn7o7kT7cB3q5gKSe4YZIETrDDpbPjLiTJgeAMfnmaTZCQk+FmO6NNKa2R mldo3wH6IDaA+uCn4AL4+AMZ1ExKmfg7f3GP5dyLP0bj7oMbQRb4K0Lv5UM0x+wxEztT v+wg== 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:cc:to:from; bh=UQgdKRbBQ8x/7UhOf7Ny3qCNE1XPkONfJBixQVemGkc=; b=Pl87oyCAi2w6lNuSUQiPpAPS68L0x/cgGrUh2ZHTOfDXX3pCEODgDj4O8/2lgPn3AH elAoDObRpiZUfJHveQIA9BYNuIqQkf2Pm1M0bCoq/kLryQHRCyZhc2AHAQkHyW9IcQ93 fDs7LfeLd9d8qzvcxSrmABohLHygSV0NKx4dKeIHRJwM29FqjzXpANJCfSxZb7RD/2Vk Q95u3KgU1sNBoeu2+JgzvLTOWZJaH3s5L4oRn9pfJvQii76M4lAbI9SvfRCAH79dW7zj 2U7EMjZ1EaXNODMWY0mH047wCzIqcBjyfKWx5cMtaDAirKSkLIGpUeZ3sGQZ3d2aHgEs 36rw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si12571376edc.151.2021.05.10.06.08.01; Mon, 10 May 2021 06:08:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350060AbhEJMz6 (ORCPT + 99 others); Mon, 10 May 2021 08:55:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345970AbhEJM0N (ORCPT ); Mon, 10 May 2021 08:26:13 -0400 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB316C06138F for ; Mon, 10 May 2021 05:18:43 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed20:f937:4595:45ff:bcbf]) by andre.telenet-ops.be with bizsmtp id 30Jd2500Z4jQ7kl010JeH3; Mon, 10 May 2021 14:18:41 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lg4rt-004QlD-Du; Mon, 10 May 2021 14:18:37 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1lg4rs-00HQPm-VX; Mon, 10 May 2021 14:18:36 +0200 From: Geert Uytterhoeven To: Rob Herring , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Lee Jones , Daniel Lezcano , Thomas Gleixner , Laurent Pinchart , Yoshinori Sato Cc: devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v2 1/2] dt-bindings: pwm: renesas,tpu-pwm: Improve json-schema Date: Mon, 10 May 2021 14:18:34 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - Include the general PWM controller schema, - Make clocks, power-domains, and resets properties required. Signed-off-by: Geert Uytterhoeven --- v2: - Keep additionalProperties, as pwm.yaml doesn't add any other properties. --- .../bindings/pwm/renesas,tpu-pwm.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml b/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml index aa9a4570c9068226..7c99e42ad780c2cd 100644 --- a/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.yaml @@ -58,6 +58,23 @@ required: - compatible - reg - '#pwm-cells' + - clocks + - power-domains + +allOf: + - $ref: pwm.yaml# + + - if: + not: + properties: + compatible: + contains: + enum: + - renesas,tpu-r8a73a4 + - renesas,tpu-r8a7740 + then: + required: + - resets additionalProperties: false -- 2.25.1