Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1498299iog; Thu, 16 Jun 2022 07:35:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v3bc7+h2Md8fj+Uhz6s8tLwtMMzhp7bJita5RP/DPiDxkf/4OfQFr9RZqmB11BwDuphKyy X-Received: by 2002:a17:902:ec82:b0:167:70f6:905e with SMTP id x2-20020a170902ec8200b0016770f6905emr4895382plg.114.1655390147713; Thu, 16 Jun 2022 07:35:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655390147; cv=none; d=google.com; s=arc-20160816; b=iwULFA45Q+FPTnHvFmLX4050Wn9DlyUsMPtQ2TK+R2Rq623PuPaLZiOYKUyriU1yPW /zt7Xg/4g1Pcu/+Koe+InfZxIXLiHEcFA2AmfFytVfB0WLC9zpVxsfPUbSIWtP1uERHJ Vg+Q8hYpgRvqjEbo/f23/1oO+PVpVSPxS0PRriP+XiojJs4mOqRq7CQ55HL5VeYg+xRd pmcBB/OrjzXd7LQEnZN/yQk7HeBvZlPxlsGrSvTLUbPVTevWTJiWU6DVnZL5hsLM8vMg nfYTcjK4y9Z64fBkp+iq1EBALCcHsmoDSlYAq/4kKKogqz/a3htgajnrgnNEYGoDSvjO xR1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XnC/bn4zCDRVtxGAXcuOdFyiM3OcQ+RFU6fn2CEQYEQ=; b=s4asc923cWEb/RB+3lKog5h7UNDRfcz9jHYMLl5YIG7Ry37d19JAxyFbtgQdLcQYbY T1M+o8cb7yC+bQmTKy6WzZgnB5a/MbbYJ5RDEmWlipGRV0Gl91ZhXjh6nik9c6VsmUYu toubbH+S4rtu2F+F4iMWpOt6rcROfKFIuDsArBoj1MWRjvgeD9JePiBtAIg4AL3V4n4K gUnECpr8voVeA8hI6wACb4cFJHyQE2/GCGElZnT+JC0miXJ2aJj7Buf1ae7nD/h6ohTR sChSnWfTFfZOYwXC3sbLRIynwI5xVVRVi6SJ5gHYhI+moH99CfKQihZe3hGt7U1RGQEw X/Ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TtMVX1VL; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 38-20020a17090a0fa900b001d285255f40si5853594pjz.32.2022.06.16.07.35.36; Thu, 16 Jun 2022 07:35:47 -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=@gmail.com header.s=20210112 header.b=TtMVX1VL; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377179AbiFPNlo (ORCPT + 99 others); Thu, 16 Jun 2022 09:41:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376928AbiFPNli (ORCPT ); Thu, 16 Jun 2022 09:41:38 -0400 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDD4B2CDF2; Thu, 16 Jun 2022 06:41:37 -0700 (PDT) Received: by mail-lf1-x129.google.com with SMTP id c2so2328855lfk.0; Thu, 16 Jun 2022 06:41:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XnC/bn4zCDRVtxGAXcuOdFyiM3OcQ+RFU6fn2CEQYEQ=; b=TtMVX1VLo5vsivX4rnR7hdNC/WiFF6rf5FY+MRkwb0kvFHYUzlHoOhwg5TTgUUGQll SE7kQXSWU31CPtm0Vv4e9lQo9PU3MWLWgM60oM2i4k+R4oEByNQ5cai/d1ERWACQtXDM xMY7/ig/TAVcVVOBe9q6kRNPg4qWH4y0n6yb4tXjSv+3TyRzXyBi4WOXJbRv9JAFTbsO /1cPkMg+4tYWIPrVNz96R2E5CvgdpRXX3IHyyB4FvHyFTbNU8pk4/EYVxqtbbgIOJjQs nix/qd2GA8c46pfGmBA/Jrg9ExTGqVNUwbVyhmMRm2yaZKa/ksKnAhO0VsFAzmEqWjMY DT+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XnC/bn4zCDRVtxGAXcuOdFyiM3OcQ+RFU6fn2CEQYEQ=; b=QJ5VFaV5yWqZRmLFmjTyha6s2zq+YLEAnY2pTzEj58G0I5SIwBKGc+mS/n7DcXtDrd z7vL+Q450JtavQxsMheTLAdPsb6p82ez4fpjO77w3EYbcHXR8NEPO7aOY1H1aJXC1wM0 4uxY7C7pu5UTBabIoR9TKvSBVfwSSeQ7ICqyJfdm6pXUqF3oGtUB2gtiyxCLVw4KmEOv Tx+FkOKJGK1fEnxpHu93h92of53+fyyVayLPa04aETeSvwlAgDYSTM5ulXGYbrn+2D9C 4Dih9N1+ogANXdU3/mg6uCA2J7/32+aesyTWyDVkLe8Jw8iIAmeAJds+EzB7wmFGo3Jz krKw== X-Gm-Message-State: AJIora+ziHEfDrP9Mt1dNR6uoZFvnnPSFUIIVA8mLUjSAw9f6vpkX/ZI dfYoocnhFmduLeqtN6yP47nrZWuiFpAzwVd40a0= X-Received: by 2002:a05:6512:3d8c:b0:479:51be:727f with SMTP id k12-20020a0565123d8c00b0047951be727fmr2762721lfv.289.1655386896126; Thu, 16 Jun 2022 06:41:36 -0700 (PDT) MIME-Version: 1.0 References: <20220608095623.22327-1-tmaimon77@gmail.com> <20220608095623.22327-13-tmaimon77@gmail.com> <381ff739-e898-8812-d549-df7101f0eaa2@linaro.org> In-Reply-To: From: Tomer Maimon Date: Thu, 16 Jun 2022 16:41:25 +0300 Message-ID: Subject: Re: [PATCH v2 12/20] dt-bindings: reset: npcm: Add support for NPCM8XX To: Krzysztof Kozlowski 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,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 Hi Krzysztof, On Thu, 16 Jun 2022 at 16:39, Krzysztof Kozlowski wrote: > > On 16/06/2022 06:24, Tomer Maimon wrote: > > Hi Krzysztof, > > > > On Wed, 15 Jun 2022 at 20:03, Krzysztof Kozlowski > > wrote: > >> > >> On 13/06/2022 02:25, Tomer Maimon wrote: > >>> Hi Krzysztof, > >>> > >>> Thanks for your clarification. > >>> > >>> We can remove the dt-binding file and use numbers in the DTS, > >>> appreciate if you can answer few additional questions: > >>> 1. Do you suggest adding all NPCM reset values to the NPCM reset > >>> document or the reset values should describe in the module > >>> documentation that uses it? > >> > >> What is "NPCM reset document"? Are these reset values anyhow different > >> than interrupts or pins? > > No, they represent the same values. > > > We do not document in the bindings actual pin or interrupt numbers... > > >> > >>> 2. Some of the NPCM7XX document modules describe the reset value they > >>> use from the dt-binding for example: > >>> https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/iio/adc/nuvoton%2Cnpcm750-adc.yaml#L61 > >> > >> This is NPCM750 > >> > >>> If we remove the NPCM8XX dt-binding file should we describe the > >>> NPCM8XX values in the NPCM-ADC document file? > >> > >> What is NPCM-ADC document file? What do you want to describe there? > >> Again - how is it different than interrupts? > > It is not different from the interrupts. > > I will remove the dt-binding reset include file, the reset property > > will use numbers and not macro's. > > I have no clue what are you referring now... This is NPCM8xx and it has > no binding header with reset values. What to remove then? I refer nuvoton,npcm8xx-reset.h file, we don't need it. > > > Best regards, > Krzysztof