From patchwork Tue Jun 8 21:58:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 455841 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp4234172jae; Tue, 8 Jun 2021 14:59:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwmVYAVfL1vbQVudb6Sd0/NV8P99BZbp5FMh4m8eUqzakEjwIEsU7y19DqerUT98LwLhEOP X-Received: by 2002:a17:906:1848:: with SMTP id w8mr25569159eje.277.1623189561484; Tue, 08 Jun 2021 14:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623189561; cv=none; d=google.com; s=arc-20160816; b=JZydPdoUfU/v3CqUUYNNgEwP+yATfsYWgy5UQ+5P31uiLkdp8qgy6qmZ2SZzepI6mM 3R0JMRTUWAcxCswf7uEaexrbUqF4UUb26GNi/AiJvqMz6jMbv8N/eET+JLV7YQCqUKB7 tW0P/iRvfSgCAkAybsTLtYz9H7zer4sHTqAy3ZNAtsmfZW3NUUiE3y7G5lD1LNN/skAD I4Bne4JiRLEn0W998EzsYKdTg9FToxh87M5ejhQezDYoVHP2XCyPh4G6+H9B6wlJsLRS WeAPTZ/54MMajjCRc2wamnRHE+QQy1hfx5yZrvHp4NbAhd8p/e4xeyPynNELj8B71A2a jPIQ== 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 :message-id:date:subject:cc:to:from; bh=kyolOlBD1WLqKbJe8buTLFpySaeENW2lO2F1cYMXYQo=; b=I51RRViwlGUij8mcVfRDCQUdsxKQaG0WRYit1AHx6eHB35UuzJ3mjfrxGOYVSQ+BVE FLvZSUFTS4NFRnFhLnQpdc64WTq3Ontjh/d6OcHozFki5EyEwSyGXr5KLJxh/jZ701TA 5GXcTT99R6PSYFNSyhmZKG9SQrYTJxyGvdYJu6Gg57ieEpuS1yyGxn/KSWsPIVg62taT aE5nyEbEhiUgPba2722KRM6d59fu25yerPV2VLf9rIl93lbPyfZ0ZjS5tHc0HhjLcYHu Yl3DAdaKfarK4yZCET0n5MYFSUTDc8MeUQGpIVK3idUJ486ktGUwqiu7By/s2YN7ZxhA PA3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dt21si736559ejb.198.2021.06.08.14.59.21; Tue, 08 Jun 2021 14:59:21 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234879AbhFHWAf (ORCPT + 7 others); Tue, 8 Jun 2021 18:00:35 -0400 Received: from foss.arm.com ([217.140.110.172]:42386 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234725AbhFHWAf (ORCPT ); Tue, 8 Jun 2021 18:00:35 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9207CD6E; Tue, 8 Jun 2021 14:58:41 -0700 (PDT) Received: from usa.arm.com (e103737-lin.cambridge.arm.com [10.1.197.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BCCD63F73D; Tue, 8 Jun 2021 14:58:40 -0700 (PDT) From: Sudeep Holla To: linux-pwm@vger.kernel.org, devicetree@vger.kernel.org Cc: Sudeep Holla , Rob Herring , Thierry Reding Subject: [PATCH] dt-bindings: pwm: Use examples with documented/matching schema Date: Tue, 8 Jun 2021 22:58:34 +0100 Message-Id: <20210608215834.2236920-1-sudeep.holla@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 'nvidia,tegra20-pwm' is not yet documented in the YAML schema. Use 'allwinner,sun7i-a20-pwm' instead to get rid of the following warning with 'make DT_CHECKER_FLAGS=-m dt_binding_check': pwm/pwm.example.dt.yaml:0:0: /example-0/pwm@7000a000: failed to match any schema with compatible: ['nvidia,tegra20-pwm'] Signed-off-by: Sudeep Holla --- Documentation/devicetree/bindings/pwm/pwm.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.25.1 diff --git a/Documentation/devicetree/bindings/pwm/pwm.yaml b/Documentation/devicetree/bindings/pwm/pwm.yaml index 7d1f687cee9c..2effe6c0de6b 100644 --- a/Documentation/devicetree/bindings/pwm/pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/pwm.yaml @@ -24,8 +24,9 @@ additionalProperties: true examples: - | - pwm: pwm@7000a000 { - compatible = "nvidia,tegra20-pwm"; - reg = <0x7000a000 0x100>; - #pwm-cells = <2>; + pwm: pwm@1c20e00 { + compatible = "allwinner,sun7i-a20-pwm"; + reg = <0x01c20e00 0xc>; + clocks = <&osc24M>; + #pwm-cells = <3>; };