Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1939108pxb; Sat, 2 Apr 2022 08:57:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4Dm3yEy5jtwtAFX8oW3qxJ9mX8NE2S1c7+CN2PUz9O28AAFwiZRdZ84X7P3WjZvcWN0UO X-Received: by 2002:a17:907:62a1:b0:6da:7952:d4d2 with SMTP id nd33-20020a17090762a100b006da7952d4d2mr4248397ejc.260.1648915069778; Sat, 02 Apr 2022 08:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648915069; cv=none; d=google.com; s=arc-20160816; b=KTsVr0kNmALRHB9Ep9E+TvKPalPe1lXdid3UUWvyxbD6Ck35hBgdN5/HT2gPhw/aeG SMa3KTxjA58pDjJtPpJvYgChDbCfgq1q71BxbPfWbyZqcRObz1pEylEUmTanjuWCqP/w vvrGQihfkAreYGeeeWhJ2SmHu5z81oU0zm4nGRVl+bhHS8PXE/0rWmpyM3LY1SD5Mjkw 6ZsEX0AXQCvY0I5nyBXpbdBGNPfctDadZbt5YaJ8gdqaHlqbvRSCEU1dNEWo0wHB5NlI coPcC0hxFP+74k/RgASp5dN3/cYN1nMQOfG38sjt1dwmXTRjCBXRItHgpFKc2c/www60 7Ftg== 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=1adJU3bhpcLZT1nUnce0EbLAPPbeXtcoClCStkyt9oM=; b=bt1KGv68vZ8dT40AICZQPWJ9ZQMrKZuvhGUqcma52U7A9BfwRjddszlg9me8T9VR5w EZUuvXfVTh1gDncXOElnGcBEH64MzsKhgpXYgJ/P6IVOaZLFj/MwqF1Qv4Uv1gJfPO8I T6exAXTIItxEEsQAfi17wSOEQHRM0gUW421tsOWNquog88z+UaUGZSGOmINNY7mcZKmm 9S8k7qFnfdFnAJHc8NFWqgOvWBqKcMGH7hJCt4jJba6qhSUh7wtblECXDv/w6mnMQ3c6 alU6kFt987xvUkIFBnuAiM9Ge04aJTSdwof1ar3u8N1XQIplOfItOg1yAtr7BtwkVRUj 7LZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VZ39SYrJ; 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 lc24-20020a170906f91800b006df76385e4asi3453317ejb.746.2022.04.02.08.57.24; Sat, 02 Apr 2022 08:57:49 -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=VZ39SYrJ; 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 S1347715AbiDAOfp (ORCPT + 99 others); Fri, 1 Apr 2022 10:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347399AbiDAOcb (ORCPT ); Fri, 1 Apr 2022 10:32:31 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05D5E1EC613 for ; Fri, 1 Apr 2022 07:28:55 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id b24so3150281edu.10 for ; Fri, 01 Apr 2022 07:28:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=1adJU3bhpcLZT1nUnce0EbLAPPbeXtcoClCStkyt9oM=; b=VZ39SYrJ6PEuCxfqeqF/rIXuHwNzeIMR4RSC49UzVjrWCxHsx0BHlKRiOJeA1aqUBh na4Lqb60PW31/7aJkHlKz9+Z08pkCtFhMyaXwX8Iy9jpon6g4s2pKRT0RCBleow+tdtW QEiPis/ejow0d2ueveCIyUc4iwSnr38jDYFT1GE4dFhiPG2Udvvm/zmLMNbKxlfnEv9T xXEkatWlkg9mzdM+9/XY5ee1SCfy1wGgdgcSrCJTna7dFOWET+ne5lUiyS7OR2YiKL05 F4AECbU5SrJABBKxCxYd09Lp7o/CQMl/NRSvMaytCitplDniftvzBoHs8IuJsmG2EI/r 5AOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=1adJU3bhpcLZT1nUnce0EbLAPPbeXtcoClCStkyt9oM=; b=M+VwyLUt0sf2wqiFUEOQ0gy73SrUU/S3jkSXbCrspmZcTzQWDpPbRHbgEDmNqEdAAq 6br7AnkeAgSAdYqg2vWdHbMfLKLjjmWJ0PFya+YAYGvJTo1/7aC3TcRAoR9+H/IUu/kO 1WR2DF6iQ67FA0htlF3FCcn0ai3iGwWHjailZJJRck/9DZcnJmhR2bTvjlm+/LXqzSGJ KcU00z3rk8HYF1+6VXKlT02YFDPCxarqwT3/ddrLCwV8nZjkQTTszKOaFJu+Gh83k+ZL CiPhnKkiNmtwL49EluxwYKAPdA5oVyKNuNkVqGUywH/SHYEHoH5BbqHO3e9jGr1mDyEK uiHQ== X-Gm-Message-State: AOAM5325sQPtsNeDcKPXWy1fOAtPj/a1yy6hgsfYpwB/6L0H0QJTqfQL 7Tnt2FjL8Lu2J9H0gwVurpUbGw== X-Received: by 2002:a05:6402:2681:b0:419:4564:1bd4 with SMTP id w1-20020a056402268100b0041945641bd4mr21552795edd.358.1648823333577; Fri, 01 Apr 2022 07:28:53 -0700 (PDT) Received: from [192.168.0.170] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id f17-20020a056402355100b0041925e80963sm1285501edd.41.2022.04.01.07.28.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 01 Apr 2022 07:28:53 -0700 (PDT) Message-ID: <67df9824-898c-192f-7baf-a1f05936f0ab@linaro.org> Date: Fri, 1 Apr 2022 16:28:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 1/2] spi: dt-bindings: qcom,spi-geni-qcom: convert to dtschema Content-Language: en-US To: Kuldeep Singh Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Mark Brown , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org References: <20220331160248.716234-1-krzysztof.kozlowski@linaro.org> <20220331175817.GA91341@9a2d8922b8f1> <20220401135224.GA40286@9a2d8922b8f1> From: Krzysztof Kozlowski In-Reply-To: <20220401135224.GA40286@9a2d8922b8f1> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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 01/04/2022 15:52, Kuldeep Singh wrote: > On Thu, Mar 31, 2022 at 09:40:08PM +0200, Krzysztof Kozlowski wrote: >> On 31/03/2022 19:58, Kuldeep Singh wrote: >>> On Thu, Mar 31, 2022 at 06:02:47PM +0200, Krzysztof Kozlowski wrote: >>>> Convert the GENI based Qualcomm Universal Peripheral (QUP) Serial >>>> Peripheral Interface (SPI) bindings to DT Schema. >>>> >>>> The original bindings in TXT were not complete, so add during conversion >>>> properties already used in DTS and/or in the driver: reg-names, dmas, >>>> interconnects, operating points and power-domains. >>>> >>>> Signed-off-by: Krzysztof Kozlowski > > [...] > >>>> + reg: >>>> + maxItems: 1 >>>> + >>>> + reg-names: >>>> + const: se >>> >>> Why reg-names is required? >>> Reg contain max 1 value, we can skip reg-names like other users. >>> >>> Also, "se" is used as clock name and using it again for reg-names? >>> I think this is wrong and reg-names shouldn't be documented. >> >> reg-names are not required. If you ask why they are documented? As I >> wrote in commit msg - bindings were not fully updated to DTSes being used. > > Hi Krzysztof, > > Power-domains, operating-points etc. makes sense, but reg-names? > > With quick search, sm8150.dtsi is the only user of reg-names. Moreover, > there is no reference in driver to incorporate it. > Driver(drivers/spi/spi-geni-qcom.c) looks for "se" as clock name and not > as reg-name. If there's one, kindly help in pointing out. > > It seems you are adding reg-names because some DT is using it and no > other reason. And with no reference even in driver, that's surely not a > way to go ahead as you have been advising the same in past. I don't mind dropping it. Best regards, Krzysztof