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: 973419 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="hGtB2Tmx"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42H5G41C4Gz9sCR for ; Sat, 22 Sep 2018 06:45:32 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391328AbeIVCgD (ORCPT ); Fri, 21 Sep 2018 22:36:03 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39089 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391311AbeIVCgC (ORCPT ); Fri, 21 Sep 2018 22:36:02 -0400 Received: by mail-lj1-f196.google.com with SMTP id l15-v6so13106074lji.6 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=c9FSdzMCbqmRxnz5pnUGG04Mq3dmaaDJ+k7w8BsU3Fw/fh+ueAh2GhMQyieGZvOyu3 /4qafpeTa4uhTO/9Ff1WaQaCbATB0GwKsHuNrECkRSr7lZlkwi+Jx5Z/csCsxSj3BUQf GGOCBybKyADfKhzmovXReCxJi4pmYDOt8sfDwSa1+l1UGWObmeat+4BYRs8tav/Xg0LI AtdGgfrU0CUkhdhaz1qTx0iU9GRUd75g0+uEREYP0tvMfW4j6OjlasbQBQTyVAsW9ofl jq833dts0O8d9okUuPGUqqDRpX5FQMYzoEDbezLaRGnawxI6feX5x6fkGDv9MM+04t68 SCdQ== X-Gm-Message-State: ABuFfogAAmayWeeHRBgFuTRr4dhNR/VIw9RzzTk/H8Oc3fd7H4y6lvIe CDfprMP/nxzTC3330QpiArCXdg== 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: 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 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.