From patchwork Fri Sep 21 20:45:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10610979 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 332E215A6 for ; Fri, 21 Sep 2018 20:45:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09DB42E7C7 for ; Fri, 21 Sep 2018 20:45:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE2D92E7CC; Fri, 21 Sep 2018 20:45:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 839F82E7C7 for ; Fri, 21 Sep 2018 20:45:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391089AbeIVCgD (ORCPT ); Fri, 21 Sep 2018 22:36:03 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:32954 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391323AbeIVCgC (ORCPT ); Fri, 21 Sep 2018 22:36:02 -0400 Received: by mail-lj1-f194.google.com with SMTP id s12-v6so13116165ljj.0 for ; Fri, 21 Sep 2018 13:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:organization:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=czQ3yjTz+qYdSrpmEsuAlDFVhkKTJvlvEG35qoR/SeQ=; b=hGtB2TmxC5ek6yYKIgEyekof+pZsOPvHScVOCg/YEr0jW3Rqm8TpZhpQ/9wfHrQqw9 KYFg57e0/KqN0xK9cgVyfbQGrCXOQDxY6Jf9YAnjKzjIoHIuU61oPqINM+tjzRO6PHF5 JqFH+2zWZtvMoESUtMepmHD+blG5zIsCCuzdfvX6epkihRw3Dr7/Ct3mMo9qvC8GrvOb jD5zvYLxc6LqgvvgYhD6XWr+pxnfKlY8vcIPt3qVF7pFLL6v6YCZjrRQVajTH6ua+518 qAVoMtE/S2It5WPGF1b1rS/2UJMMiDwd3CUcGQT0l93C54Uo5ZF08nsutcMWwHFhE41x AlEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=czQ3yjTz+qYdSrpmEsuAlDFVhkKTJvlvEG35qoR/SeQ=; b=LzXzcGkSM0S3ZLm53vX4ZaOVktS3Xn3mfMUAtQAqFalInoj2kyf2GDGAu7/sfTeETb qcNecJQquPq8F1XTdhCQRAflUKWbnVxrWQoDD5Sj/CZ9KM3pYT3aqrUHoL5vCpvYvNdK ECHy57VyK65eyi7frorTCYJxUoJcvtC9/XuM9DVqDztFVhdHZQTeeEoH246bpvoIMOnE avxFVmepwFyFRXp/3Jz1VN7UfCsGTYinj6CXxB1ygwraFXYnx/dGhAKWUniOM8XApW/I 6h27moaduIc89PeMKH7rTDfkl25nI5++sc/T56Uj5pe9qbVqvjzlwUpHqA2z4CwqwjWe I2vw== X-Gm-Message-State: ABuFfogTwRfzOxvwAwV3VN7gVphVGQQa02n9kgJIkFvvRP/iSynu/zBd NCuVQ5B4zcfaN7QbD2BztmRBvZYHkt4= X-Google-Smtp-Source: ACcGV60v556drb/m5NmBQuFD1PhiRhUuO/SZxiuE3hmyQSmCWDRLjGqlFXRIRtphJMpaXoRy6jaacQ== X-Received: by 2002:a2e:9e55:: with SMTP id g21-v6mr3746130ljk.116.1537562726691; Fri, 21 Sep 2018 13:45:26 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.83.26]) by smtp.gmail.com with ESMTPSA id p65-v6sm5155678lja.44.2018.09.21.13.45.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 13:45:25 -0700 (PDT) To: Thierry Reding , Rob Herring , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Rutland , linux-renesas-soc@vger.kernel.org From: Sergei Shtylyov Subject: [PATCH] dt-bindings: pwm: renesas: tpu: fix "compatible" prop description Organization: Cogent Embedded Message-ID: <2aaa98bd-475c-08dd-ee34-d41fb960952e@cogentembedded.com> Date: Fri, 21 Sep 2018 23:45:24 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-MW Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The "compatible" property description contradicts even the example given: it only says that there must be a single value while the example has the fallback value too -- which makes much more sense. Moreover, the generic property value is misdocumented as being R-Car (and RZ/G1) specific... Fixes: 382457e562bb ("pwm: renesas-tpu: Add DT support") Fixes: 3ba111a01822 ("dt-bindings: pwm: renesas-tpu: Document r8a774[35] support") Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Horman --- This patch is against Linus' repo -- the 'fixes' branch in Thierry Reding's repo is very outdated... Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) Index: linux/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt =================================================================== --- linux.orig/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt +++ linux/Documentation/devicetree/bindings/pwm/renesas,tpu-pwm.txt @@ -2,13 +2,14 @@ Required Properties: - - compatible: should be one of the following. + - compatible: must contain one or more of the following: - "renesas,tpu-r8a73a4": for R8A73A4 (R-Mobile APE6) compatible PWM controller. - "renesas,tpu-r8a7740": for R8A7740 (R-Mobile A1) compatible PWM controller. - "renesas,tpu-r8a7743": for R8A7743 (RZ/G1M) compatible PWM controller. - "renesas,tpu-r8a7745": for R8A7745 (RZ/G1E) compatible PWM controller. - "renesas,tpu-r8a7790": for R8A7790 (R-Car H2) compatible PWM controller. - - "renesas,tpu": for generic R-Car and RZ/G1 TPU PWM controller. + - "renesas,tpu": for the generic TPU PWM controller; this is a fallback for + the above . - reg: Base address and length of each memory resource used by the PWM controller hardware module.