From patchwork Sat Sep 22 19:43: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: 973607 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=cogentembedded.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=cogentembedded-com.20150623.gappssmtp.com header.i=@cogentembedded-com.20150623.gappssmtp.com header.b="j4i1urpH"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42Hgr33sv3z9sBn for ; Sun, 23 Sep 2018 05:43:31 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbeIWBiL (ORCPT ); Sat, 22 Sep 2018 21:38:11 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:40083 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726226AbeIWBiL (ORCPT ); Sat, 22 Sep 2018 21:38:11 -0400 Received: by mail-lf1-f68.google.com with SMTP id t22-v6so3928212lfb.7 for ; Sat, 22 Sep 2018 12:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:organization:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=VOfJxSnZQUfW3NjIApXYGv2vbAkfXOjOXUFr/lv6SLc=; b=j4i1urpHBm4r+2/DNZANv6Py4cYLrhzueucG4HrcErnjLf98dgqZG2VjtUEtb7Yy0S tWlRUD1Jm9udLGweMg/WdkrZoo6Nj6ZY3gJ6TXomMUrZeJDiARhd2aQLkjzllr5s6bXC f68aobz6WaiIYyR/SBxsbwp0t7Ox+Uf8LgIvEzobtnLswDZCnANIq5uY42tQwrqAp6me m9/OqVEzHb7VKEvpcdtnnr6D8vebQgh63ekzh9CteGjjLs8u+wpvh6zWW9pWWZJNPjPT VU9usgGbrJwd6OZBQT5pxV5ZpVKlT7/JewRdkNkNMrxvi4R/GMqiXeev/MuDT8V+NFhA 3yyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:organization:message-id:date :user-agent:mime-version:content-language:content-transfer-encoding; bh=VOfJxSnZQUfW3NjIApXYGv2vbAkfXOjOXUFr/lv6SLc=; b=k0wqu6kxqXSgWYx4gWqoBBJpKOEJEolHd6mzz4ieL0BVr6oXsuoDNrZ9tRtvqpNyXH /khohdA9U6obnqyzu2MTYbWb6uKjSBz2zw+Uijwj3aTvo4CdPEMu5KoU0lXgN7+rhtVC ZwjOzz5H02W3MdRgDYsUfqxmDtdIVB7DRRyCoXysU9T2//1SJ//xHzxrJAU546IdZjNs 6s6VWK4WGQFGessRgPa1O5VvV0Zu2lR0lQFdeqkEidlj3UiQUEO1o4myzd+ei0NbqbMa C7h/jx5mptFqR+DXH4t4eKmNIPoPCEhP0GR6VHh+1TEHp4vL+ZmpNwmwleD/I8zUbJo9 pk3g== X-Gm-Message-State: APzg51BXP40SfL6ikjmfNCqWfjJxtiI+pO0GkFPDkBppOweFBXn9guQ4 GsglZ7/ZruvPIAwVGf1E2S/RzQ== X-Google-Smtp-Source: ANB0Vda8tnccMTpWulInwIjbVB/ejrtSnIThoHCAltrNZuhyTNHdGC0+Kk4PgKGOCv3hMCdh0D3MXw== X-Received: by 2002:a19:910c:: with SMTP id t12-v6mr1925350lfd.98.1537645406848; Sat, 22 Sep 2018 12:43:26 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.240]) by smtp.gmail.com with ESMTPSA id d190-v6sm2881620lfg.19.2018.09.22.12.43.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Sep 2018 12:43:25 -0700 (PDT) From: Sergei Shtylyov Subject: [PATCH v2] dt-bindings: pwm: renesas: tpu: fix "compatible" prop description To: Thierry Reding , Rob Herring , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Rutland , linux-renesas-soc@vger.kernel.org Organization: Cogent Embedded Message-ID: <7851c2c4-5a5d-dc34-4f00-fa26e80815ea@cogentembedded.com> Date: Sat, 22 Sep 2018 22:43: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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- This patch is against Linus' repo -- the 'fixes' branch in Thierry Reding's 'linux-pwm.git' repo is very outdated... Changes in version 2: - fixed the wording of the fallback value description. 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 entries listed above. - reg: Base address and length of each memory resource used by the PWM controller hardware module.