Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1910387rwn; Fri, 9 Sep 2022 06:04:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR4tZlS+pBrCDJxeOEXQC50ubEkM8ZHqc3I52pDZ3syUPuEWxCRad9nFfX5Z0PdqK508YsXW X-Received: by 2002:a17:90a:6401:b0:200:b8ed:ca6 with SMTP id g1-20020a17090a640100b00200b8ed0ca6mr9766205pjj.0.1662728667080; Fri, 09 Sep 2022 06:04:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662728667; cv=none; d=google.com; s=arc-20160816; b=zoQXaWqdD43kbzkE6vlg3tx8Gyc1DOsl9S6hr6bCXjXmfmcBoIrq/Lpwe3wHvWhGwe +YVFPMbXGujeoCWhtGd3GdQ1ITz8n3o0l+E8TulZpZ+JBZU62JwLiT9VuufEeifFkwVB P92hO/jz/0/ctmZMEEqTUDvpBNp53lJjCCDwHjA8VC0HtjMFeguXW3GPLnCE0/aF8eg6 PFF7Cs05A2UKc8ZfVzYmNsnBGwEB2DIyOO+RH0D0wMTAj5xw8AXAfx/ZdoI0a2NWrDt0 3tVwCazrIPRE3ZQwpLH+CPq+bSI3QIx1Gruackv75m2m1Jigq/Ev4K0dXFDZ3veEmKlG fqFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Xjl34rYNHyzwI8AGw+QEfoD2CLfjnWkvOp8SHIHfMAA=; b=AA0JnVdeDhnhX2ppUuXUXmSPb93BruHcZOp6oUVk7gpzT+5dVqOZHqNehLuPCYBoRs hHZwEtbnYSuBCuWMNwl36udfXXnqa4SHmcq5/rJjBSVs9maP0DPtiEUiOCLATEZC65Wk tS2eQljkj71oZnv8fGBI9Va4N0p6b8y/QLRMteTuOtf3DG5KAi/oEY5WMfLDr7C82e/B +/4fCUUbIfil7+x642OPHyMa2kYBIJ6rk54vd0qWEdTDaCgB5eMxaUZZfGjuZvjZGOSs G9vMX8GTVymAKWogq7YDpS3UgSNyPJLm+2auYjs/WVfjNfWisa7Pyym5K1okOHEBcvzF 0Grg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ppdq+3NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w5-20020a170902d3c500b001780a3837fdsi472438plb.342.2022.09.09.06.04.11; Fri, 09 Sep 2022 06:04:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ppdq+3NK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231243AbiIIM5O (ORCPT + 99 others); Fri, 9 Sep 2022 08:57:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbiIIM5M (ORCPT ); Fri, 9 Sep 2022 08:57:12 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 759FB12B341 for ; Fri, 9 Sep 2022 05:57:10 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id y29so1709929ljq.7 for ; Fri, 09 Sep 2022 05:57:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=Xjl34rYNHyzwI8AGw+QEfoD2CLfjnWkvOp8SHIHfMAA=; b=ppdq+3NKnpLqYuDGizbeywE53b6E+v75GPWavVRWMgRwIyOyf5i4q2GnmRaW0aM8JS N7cZNSDo2jF+osWbql6TfKfpgP3gkP12Hw564zsGbpJLUzDPO40gDfBLJJOp+Y8CsqcP cGpMAsjjwSailbQaDHHaydAbtWBhMr217X1R9+ualWnd4SHl02ZL31mWDd7lY4bu33v6 pI6s08rVYY2WJZf7q5uIwzbbLUoVLjo8iYf1/tHTC4KVFZ7TrUkmkRrMtZYStUh6fnAY q5WNSdGPeyRQL8JIq9R5OPFhyD/B0TYSGH1u/qg6gONSGdPTPQERNmNgNJW7CdO8ZII8 u9yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=Xjl34rYNHyzwI8AGw+QEfoD2CLfjnWkvOp8SHIHfMAA=; b=Sztl6+oqE+Ho3JP6HB282mVJ1Zgo0F3seU1ZTaXRV+i0bWarUiGQqI5qk3HTzQ5cwq JwLnSL/FZGYSGH+qaGIvHicyb5hSvh5UjL1AvDUllf39rcer9jcnNLuJH8gjgbCXNLfE 4hRuHTg2MCY5qr1Ior6Kah832sfFSNPFfb8zlzml9d11WNcevUX+2nV8jeXOREVSkRlq YiPEqt5JMLM0E6NlRZ/rL4eXE7DYXCsUO3N4m6L3DJwWhzCJ7fp2IhSTF57lN4T2dymR 610PgT1YsDIlaGKrtmATXn8icAlUfs+jgCw8ARVjIgb8b972D3F7qjYyFKmegPGh+Mfs igvw== X-Gm-Message-State: ACgBeo2L36Ne9cNEhoE0ZX9Ka93NJMz5ZWMS1FAfNwau8sd1chOTeCpG w3OuaugpqqXQe3hmoRdEFeuyhw== X-Received: by 2002:a2e:944:0:b0:26b:e068:1304 with SMTP id 65-20020a2e0944000000b0026be0681304mr1323362ljj.407.1662728228839; Fri, 09 Sep 2022 05:57:08 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id g15-20020a2eb5cf000000b0026a9c8833d3sm64017ljn.129.2022.09.09.05.57.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 05:57:08 -0700 (PDT) Message-ID: <72ed9df4-4bec-b9e5-c14d-3e998d83a102@linaro.org> Date: Fri, 9 Sep 2022 14:57:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH 1/3] dt-bindings: pwm: tegra: Add compatible string for Tegra234 Content-Language: en-US To: Sandipan Patra , "thierry.reding@gmail.com" , Jonathan Hunter , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "devicetree@vger.kernel.org" , "linux-tegra@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: Bibek Basu , Krishna Yarlagadda References: <20220907062545.30203-1-spatra@nvidia.com> <75d5e29e-7418-3b8f-f549-6a69fd479852@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/09/2022 13:17, Sandipan Patra wrote: > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Thursday, September 8, 2022 5:44 PM >> To: Sandipan Patra ; thierry.reding@gmail.com; >> Jonathan Hunter ; robh+dt@kernel.org; >> krzysztof.kozlowski+dt@linaro.org; devicetree@vger.kernel.org; linux- >> tegra@vger.kernel.org; linux-kernel@vger.kernel.org >> Cc: Bibek Basu ; Krishna Yarlagadda >> >> Subject: Re: [PATCH 1/3] dt-bindings: pwm: tegra: Add compatible string for >> Tegra234 >> >> External email: Use caution opening links or attachments >> >> >> On 07/09/2022 08:25, Sandipan Patra wrote: >>> Tegra234 has 8 different PWM controllers and each controller has only >>> one output. Add a device tree compatible string for Tegra234. >>> >>> Signed-off-by: Sandipan Patra >>> --- >>> Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git >>> a/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt >>> b/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt >>> index 74c41e34c3b6..331c1e66e8fa 100644 >>> --- a/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt >>> +++ b/Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.txt >>> @@ -9,7 +9,7 @@ Required properties: >>> - "nvidia,tegra132-pwm", "nvidia,tegra20-pwm": for Tegra132 >>> - "nvidia,tegra210-pwm", "nvidia,tegra20-pwm": for Tegra210 >>> - "nvidia,tegra186-pwm": for Tegra186 >>> - - "nvidia,tegra194-pwm": for Tegra194 >>> + - "nvidia,tegra194-pwm": for Tegra194, Tegra234 >> >> The commit msg suggest it is different. Are you sure they are exactly the >> same? If not the same, but compatible, you should use fallback. > > Tegra194 and Tegra234 are 2 different chips using exactly same pwm module and dt node. > This change is to convey that same compatible is used for Tegra234 as well. Then recommended is to have Tegra234 specific compatible with fallback to 194. Best regards, Krzysztof