Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1233605iol; Fri, 10 Jun 2022 03:14:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHQfBcyQa639Ut9JmfaCUiaFTujpn1ViFOIvYpE67DvXK28whwEHULL0RIuRBaMUCU9rv6 X-Received: by 2002:a05:6402:c08:b0:42d:d005:13c1 with SMTP id co8-20020a0564020c0800b0042dd00513c1mr49539602edb.187.1654856069259; Fri, 10 Jun 2022 03:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654856069; cv=none; d=google.com; s=arc-20160816; b=OWcb2ftHOFVYBItPXgqfCz+k+YX9WaUqkkl5fSRgiU48sbVibbtuiTjkR4NjJrJR1u LKRtS0onqh8eTO5/EHf2IcgrjyWcWq1JvrA/HMIUApZl2mNt9pVUOFPxvcnM+mqoLQNw aqZrsbWeKY/5+4dT9fGfgQIsCJ4FDaiKKFpwMZ7vGHTtlBa14WoLQJgFqUQZkaBci3NB YHVQCKgtxVVJ4QdFXsBAc42z9NMaB6oopVwfI6venPLcdJKh7mb5PiLfRmtpp4BB43aE q4KkHXtn/8pSN8Z3vNiwVLLt3Husb7U4c1WCr1lZLpfWrcGnrwwH47g+Nxt4ox2U7kOB l6vA== 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=fYLaThkrJ3eihxzDkJJoKJeN/ruDQRHwWXWApkInkkA=; b=pRb+nV5Wj8SPZshGTi1aPP4W+kxBRGtoxYBZ2hMqlRcmPzh2EhAnoX3WY++c40Ofd4 uoy88N7EhmEbLthNmqchPwDz68G9pb8AL4xw0VvukqPn3lAm1vx63zgG62Lc0wQJSQT5 utwu3b1PQz6oaW7HuNVcbHgXyM6wqT3Yi1eleG8uimFJNLQFeJ59FsVbkjgaTAhHAZ5b CFjEey1voNWc7G3B0+Q/mHRuG27M/8w8uz1Z2Vi+leiuYoxG2IPusqCuZ14eQ47D53ZR Ks1oQDzSYnL2018gNMm6ykCJUO0F9IHYalkvneguCaXsMCTjx8kYeNMVHJJZK5uDYJHf itGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eZMqUcnQ; 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 q10-20020a056402032a00b0042b635aefcfsi20181158edw.82.2022.06.10.03.14.03; Fri, 10 Jun 2022 03:14:29 -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=eZMqUcnQ; 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 S245104AbiFJJ4D (ORCPT + 99 others); Fri, 10 Jun 2022 05:56:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245663AbiFJJ4A (ORCPT ); Fri, 10 Jun 2022 05:56:00 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EEC27E79 for ; Fri, 10 Jun 2022 02:55:57 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id y19so52458200ejq.6 for ; Fri, 10 Jun 2022 02:55:57 -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=fYLaThkrJ3eihxzDkJJoKJeN/ruDQRHwWXWApkInkkA=; b=eZMqUcnQvs+mvcIh4RmsXSM85Xjm0GxOtCVFq5r1QIgnOUj23JAk0RZ5CYM8+YSH9k f7ybIkD+/HHywul6k2FzvEWj8SR1iNcawcxRgqCp0cNbU4FrnUEmDmQcF8mIN1ez667E Aq4VD6nD8UwxBRV1fjIp8o7Egebu8P+xxQbiBQVNMKHTSONgGjZXbTqn0H7tbZTVNHxh MKwzQOOe029LUFO69vjUIO1dhmMlLvtTbthq4qRZJLpmHPIDVsqIuKB7U89mdaZ2XW+M 057kmVyPGLomjrI5VMUYNgMnHZu1WjHD/iavKMoSQ2Qa0UscSO6I4dJ3+/XBVFuWPtUf Yk5A== 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=fYLaThkrJ3eihxzDkJJoKJeN/ruDQRHwWXWApkInkkA=; b=SHhGbEkj1RJK2exh7lemkJMnR6CloTAOwwsWF6RsDzzGV2AnP98dP6a054QIYapI75 xb8cjGgvPCarlQq4dDvYoXEucY/TqxOOKD4Z6+r98OsPd+zy46KTc/Be7uAcBNc7qYk9 zgGzQchTUv5pfLzs5g0eSOeJ6Y6RevmWWJN+QBQxjkYBPAL7ap8mkU6KOIgek9Dc/X1E FGBMKzfURf8/YI6Gz97RQO6vb42HzzQ/NHR0EG80atVYI0WpoXpzM6mhu0EW6j8ppwZ+ IdH5L1Qkjf2H3/ySTj22ngSbbgTpLYbUprK0o2MKtBHF/+1EbzSeUQZtZZkGWSarBFxn vhjw== X-Gm-Message-State: AOAM533kJixsnRoWXfSxn7xpe4XeBpaMtob+L0s0F/kK2KbVVVgaiaFu /laIgWVnjjpvmp7gtgCR3HXPTA== X-Received: by 2002:a17:906:a06:b0:711:4f17:4391 with SMTP id w6-20020a1709060a0600b007114f174391mr28161039ejf.288.1654854956040; Fri, 10 Jun 2022 02:55:56 -0700 (PDT) Received: from [192.168.0.201] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id zc10-20020a170906988a00b006fef0c7072esm12179646ejb.144.2022.06.10.02.55.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Jun 2022 02:55:55 -0700 (PDT) Message-ID: <381ff739-e898-8812-d549-df7101f0eaa2@linaro.org> Date: Fri, 10 Jun 2022 11:55:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH v2 12/20] dt-bindings: reset: npcm: Add support for NPCM8XX Content-Language: en-US To: Tomer Maimon Cc: Avi Fishman , Tali Perry , Joel Stanley , Patrick Venture , Nancy Yuen , Benjamin Fair , Rob Herring , Krzysztof Kozlowski , Michael Turquette , Stephen Boyd , Philipp Zabel , Greg KH , Daniel Lezcano , Thomas Gleixner , Wim Van Sebroeck , Guenter Roeck , Catalin Marinas , Will Deacon , Arnd Bergmann , Olof Johansson , Jiri Slaby , Shawn Guo , Bjorn Andersson , Geert Uytterhoeven , Marcel Ziswiler , Vinod Koul , Biju Das , Nobuhiro Iwamatsu , Robert Hancock , =?UTF-8?Q?Jonathan_Neusch=c3=a4fer?= , Lubomir Rintel , devicetree , Linux Kernel Mailing List , linux-clk , "open list:SERIAL DRIVERS" , LINUXWATCHDOG , Linux ARM References: <20220608095623.22327-1-tmaimon77@gmail.com> <20220608095623.22327-13-tmaimon77@gmail.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 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,URIBL_BLOCKED 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 10/06/2022 00:05, Tomer Maimon wrote: > Hi Krzysztof, > > Sorry, but I thought the fix is only to add an explanation to the > dt-binding file as was done in V2. > > The NPCM8XX binding is done in the same way as the NPCM7XX and both > use the same reset driver and use the same reset method in upstreamed > NPCM reset driver. > > Can you please explain again what you suggest to do? If you want abstract IDs, they must be abstract, so not representing hardware registers. Then they start at 1 and are incremented by 1. Other option is to skip such IDs entirely and use register offsets/addresses directly, like Arnd suggested in linked documents. I think he expressed it clearly, so please read his answers which I linked in previous discussion. There is no single reason to store register addresses/values/offsets as binding headers. These are not bindings. Best regards, Krzysztof