Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6394331pxv; Thu, 29 Jul 2021 13:33:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPTIZxi2TZu4aj7c6Ps5+xQjL6dM+epbZbjynn1Czifaf/HLyKI695SJjlnCRNVplaw2hJ X-Received: by 2002:a17:907:1c08:: with SMTP id nc8mr6372435ejc.514.1627590810459; Thu, 29 Jul 2021 13:33:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627590810; cv=none; d=google.com; s=arc-20160816; b=x+LKoOQjOE07GKUZ/JukfDLM6spHFeFAFH6YHMHZU736v6lg63SC5ZctDxOcuzBoXh xGL+bg+A8ZJitFrvIDyVZwueuToMeFB3AisdSp+HWGhuFMv2h6k8+aQEwqpiHO0zgf7z GuOc37euJ3hasfALgdetP+HAdHVJxh+nrmCiu9xN/r/Q0KlDa0OAlJja8ynwNGSyQ10B pDaYjOPQ1hh3YepeNL+fvTtZP/bJL7UaftYgp+Gc4SNlCQNsgBZnpNzEgvoa09VxRmsX VaKa96k6wL3m5jkhKAPk7GjNl3jjWqn9L8yoih8I7wuC4ClwwG3e4+t8Z+Im6CA8wDIt Obqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=KUWvqLY5dtYTcBMoP6MzaeBbDWJ4C0b6SsAxNWS8lfo=; b=JSK8IJNg/tHMvllL03/B/vLPgylHtpxjdUQflucc/95cD/kNXW/+fJoOQDBzKPLm2X 73ks8MYfxnygyYpqIll9624Kh7DJEs+mB1wnNrW5UHewPDcrfKcjrp6eTvZ9T5S5vhP4 Xu8iEcVy2+SeHIrYLO5MAFwAYGqkjmuvnGqRnR1yjaAhNk9li2JB92572amDnHUMKXdF e42B5vHNCDEs2rEhkXdXsBalMXm4/1E8DQgSYXHOea+V4BdGmJzYVusPjAPJb9XIzZYE drL8pMUFqL59YCwvAeamT1gafPVtvzAe6pe23Z0gWp1WiFTbYktcoAZcgkwi//2OD9+A Yrsw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne36si4337419ejc.575.2021.07.29.13.33.06; Thu, 29 Jul 2021 13:33:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232725AbhG2Ubn (ORCPT + 99 others); Thu, 29 Jul 2021 16:31:43 -0400 Received: from mail-io1-f49.google.com ([209.85.166.49]:37700 "EHLO mail-io1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229707AbhG2Ubm (ORCPT ); Thu, 29 Jul 2021 16:31:42 -0400 Received: by mail-io1-f49.google.com with SMTP id r18so8783098iot.4; Thu, 29 Jul 2021 13:31:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KUWvqLY5dtYTcBMoP6MzaeBbDWJ4C0b6SsAxNWS8lfo=; b=ZLq0dZZyAnfRGtM2an19Wmy/yzELC2al21+FauFK+o8itA72QvLXskLzAwj0P1NC3B EIUEzPU3b07uRLHYstSqiwb/bejqsiyxFYNL4cCmXFg3ePS2bJm+Vpjvjd5/t6XCCHu6 WbpQ31d8P/UyqOB+vB5v+2UEPu4zPGs5dDhMbs17JoKqMOwmRQgZ0ObIY3N/0eRDf+VK 37KEwCww1jON2RZsRT/zyMbHw42JHkhoNZ8NbNCT4HzILr5CsBgJqrG/2wze8baB4SX4 rHbqrc0nQvCghjYtnjP0hULBTETht6PO6qVB2R0znWXuhK2uoTOHDZMpAxYaoCGuEnQe k9ew== X-Gm-Message-State: AOAM530gutzjkUF3hcjamV72TgVQCSm/rBeBW1bRy4xBzIK9KkEJbMKK ospssAqisIGVjUMlEEFVNA== X-Received: by 2002:a5d:8986:: with SMTP id m6mr5466807iol.87.1627590697396; Thu, 29 Jul 2021 13:31:37 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id a3sm2101033ilj.39.2021.07.29.13.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Jul 2021 13:31:36 -0700 (PDT) Received: (nullmailer pid 835093 invoked by uid 1000); Thu, 29 Jul 2021 20:31:35 -0000 Date: Thu, 29 Jul 2021 14:31:35 -0600 From: Rob Herring To: Billy Tsai Cc: Jonathan Cameron , "jic23@kernel.org" , "lars@metafoo.de" , "pmeerw@pmeerw.net" , "joel@jms.id.au" , "andrew@aj.id.au" , "p.zabel@pengutronix.de" , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , BMC-SW Subject: Re: [v2 1/8] dt-bindings: iio: adc: rename the aspeed adc yaml Message-ID: References: <20210723081621.29477-1-billy_tsai@aspeedtech.com> <20210723081621.29477-2-billy_tsai@aspeedtech.com> <20210723154456.00006744@Huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 26, 2021 at 06:53:07AM +0000, Billy Tsai wrote: > Hi Jonathan, > > On 2021/7/23, 10:45 PM, "Jonathan Cameron" wrote: > > On Fri, 23 Jul 2021 16:16:14 +0800 > Billy Tsai wrote: > > > > The aspeed,ast2400-adc.yaml not only descriptor the bindings of ast2400. > > > Rename it to aspeed,adc.yaml for all of the aspeed adc bindings. > > > > > > Signed-off-by: Billy Tsai > > > We try to avoid 'wild' card type namings most of the time and instead > > name after a particular part number. I say try because clearly > > we let a few in over the years :( > > > It is very hard to know if this binding will apply to 'all' future > > aspeed ADCs. > > > As such I'm not sure this particular rename makes sense. > > If I want to extend the yaml file to compatible more versions of the aspeed adc. > Would you suggest to add new files call aspeed,ast2600-adc.yaml or just append it > to the aspeed,ast2400-adc.yaml? If 2600 is not backwards compatible with 2400, then probably a new schema file. Given you are adding new properties (which only apply to 2600?), then most likely a new schema file. Depends at which point there are too many conditional (if/then/else) schemas. Rob