From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52490C4338F for ; Mon, 26 Jul 2021 17:52:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0CE1B60F6C for ; Mon, 26 Jul 2021 17:52:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0CE1B60F6C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=T3Jj6+nwizJSG1rbe+MBooG5O+eoLrX9ua2MptjHig0=; b=cag9bWrr9BoQgd cgHM9F/3vTIOWQktrpzzmCo/Kz8ntBsQeE1pxZenOuLjHBj0ovwkS2S8mEe1ekB8fVm0ULiW9V/yq IggGXOB5i5BWaIctCFS05c3IvmrJg/qCc7YzLLLeqcYj4CzDSNJfDkM1jXKESpEeZKxaJjmCxSP45 z5u3Fit/yBWt60UVxAdBtdORk5i0Uj67vFKT39OC18By4AhwJxu6OtnhTfta9ofn9bS19CjO3NprN U9sVgZ5aYgGjgZ7W+LxA/ajDvtWYjub9+1DYJzBCzGINqst0MTTu8j+UMcUfnYF46sp9rMBeP8C0v QyMZ9+cfjvDnRAlVXIkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m84kE-00C8ii-MR; Mon, 26 Jul 2021 17:50:26 +0000 Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m84kA-00C8i9-Iw for linux-arm-kernel@lists.infradead.org; Mon, 26 Jul 2021 17:50:23 +0000 Received: by mail-oi1-x230.google.com with SMTP id w6so11830437oiv.11 for ; Mon, 26 Jul 2021 10:50:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=db48y/ovq+/R24P2kuhwOLAKu+icrzjTHuCcSHS86vg=; b=w1uqw0eZtgt4oeg8v9LZI7uXoVEIOkGhBTsjhDru5QNLljSUpMgtcxH9f+3VbGkoYV hJP1nNBhc6oQIjO1dZd6jFOoLYmfT5vM1qnC6Ffx1bc/ny6L3xG2rPcJ5mGeGj90ZeTV JVxgMgz8/du2yQv2Az0128DkCblfYB7wwh2/7hJF2BJusX5wv13SSZPChhuzr/PI8QKZ zrdrOUdEi7Wo7h2RZcduQkOvSp3kua+ivw3AQ4JlHEOdDsMhKCmMHlI3+WvowjtlpxR7 cJ6YzL/XAaAhi0I3bmrkp5mHjGs5JfXiItLz67tvOqBeoi4KL16VdFmwM5tSDm5XqdSm a3ng== 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=db48y/ovq+/R24P2kuhwOLAKu+icrzjTHuCcSHS86vg=; b=DO74uJVuap5v3PNDceTfZj95xzhvEnf8VUed64GnzJetnBDDIoWw6UE0J8rPh8HrTP ifBeC8DrXsJ0yfpMueNQC1xe2XU8zcWQ0GXww+wDygqZ6S94Gwdk+vKw7PSErJNvjoHY thmndbaOAt7utceYREgie4wV3zzA2IBi8KJ8Y+IaentCiFoUlYEbapT8LUKJOZHWYYr9 arNrLjviuweYQkflJFY64pml4qiwESVbTRFzJRqydla+61TcFsIw/QoQdW/daVJiCVAY oatTHjspCfqUg5dJCgk/lLmpVnrsxv1HnmDFj7o0gtKSAufzsadbnrp66OLyhTmUgZpn nVow== X-Gm-Message-State: AOAM531FTnzrEvWaefieHWH5z4xjin3kOW/86qmNY8m9cAh8FZ7D4J4+ PhEZKLoNK8Al0J6SgaeeGuGt4A== X-Google-Smtp-Source: ABdhPJx/nGg701JhccQq4lqQVoXFFP3F3OPPYRM5w+P3u/t+MNBSirVAf1yX4j6qSp94l2IEEXDSng== X-Received: by 2002:aca:4d55:: with SMTP id a82mr12164918oib.100.1627321821170; Mon, 26 Jul 2021 10:50:21 -0700 (PDT) Received: from ripper (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id l17sm107177ota.20.2021.07.26.10.50.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 10:50:20 -0700 (PDT) Date: Mon, 26 Jul 2021 10:48:32 -0700 From: Bjorn Andersson To: Baruch Siach Cc: Rob Herring , Thierry Reding , Uwe Kleine-K?nig , Lee Jones , Andy Gross , Balaji Prakash J , Robert Marko , Kathiravan T , linux-pwm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 3/4] dt-bindings: pwm: add IPQ6018 binding Message-ID: References: <889aae1b88f120cb6281919d27164a959fbe69d0.1626948070.git.baruch@tkos.co.il> <70f0522a9394e9da2f31871442d47f6ad0ff41aa.1626948070.git.baruch@tkos.co.il> <87h7ghwwcb.fsf@tarshish> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <87h7ghwwcb.fsf@tarshish> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210726_105022_680496_73EDE7CA X-CRM114-Status: GOOD ( 17.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun 25 Jul 21:08 PDT 2021, Baruch Siach wrote: > Hi Bjorn, > > On Sun, Jul 25 2021, Bjorn Andersson wrote: > > On Thu 22 Jul 05:01 CDT 2021, Baruch Siach wrote: > >> + clocks: > >> + maxItems: 1 > >> + > >> + clock-names: > >> + const: core > > > > With a single clock, it's nice to skip the -names. > > I find it nicer and better for forward compatibility with hardware > variants the might introduce more clocks. > Do you foresee any need for forward compatibility? What other clocks would this binding have to refer to? That said, you'd achieve the same forward compatibility by just making sure that the current clock is the first on in the amended binding (which you have to do with or without -names). > Are there any downsides to -names? > Look at the number of places in a typical dts that we could have added clock-names, reg-names, interrupt-names, power-domain-names etc for a single cell. I do find it beneficial to keep things cleaner and sticking with the design of "single resource has no -names". Regards, Bjorn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel