Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1451381iog; Thu, 16 Jun 2022 06:41:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uO/6B9P0TCCMirySk8moZecOTXcyhhdbeSDe8jdtVRoMdgea+TO2rQr2+cQL/Yr6Epy9gi X-Received: by 2002:a17:906:449:b0:711:c975:cfb8 with SMTP id e9-20020a170906044900b00711c975cfb8mr4736068eja.58.1655386886003; Thu, 16 Jun 2022 06:41:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655386885; cv=none; d=google.com; s=arc-20160816; b=zPHNp9sUf9MN8LT9TcrMANWfQPppH6w4ivWRtMDJomd5yyIf10fjzyVklomIkfAfu9 4XIoWAP1jY0WKWRQJKHyAF/4VoRkBn3vPFUoA0bz7yYDjoK7EN4iDHH8vqi1IoYE4s5W T1CiyDnEO+LW+8aAe8hF/Wz8BwoDvO8WF1QA17S0e5qifxLomL+0nZPljWffF5l7C6wR 47xOzqJfGCpWCUk0V2AhIwY/8rnSLhDfbhMtpe/ZFhOYeyjda1BPHUYHTppvC7QKaQce zG/Ocfm/AJMza08yh7WE6boP4j/UZZEAQMTsJ6beIjBRV7AM8enfqzE0BqcpImTF804D wxXA== 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=tZJ0udOOwaCxWMXlTkBG0pv6kYWe5fFc5cXr8AFWGxw=; b=fMOcIeBUSgWr9IqAByJktKdUqnqEAnefaxa57iiO46oplDvbfKjaT+2z1xcPGu83gs 6UBeMGGvCKUOvlzIw4IvDMgbx7f7b5bSTpOHCfdn3f5p4e9SbtW9m5L0qawcppS0WdvY 6B6UWmyEyMxtu3eHW6q6Wf2/HOKfxAQyalkY1JJjv3vfinRReyEF74hRf07Y/Olzvl/4 7Pq/hoAX+if3Z99v5KSqcBUtqr1HquRaSRzg2EfayiV7QTtTaOh4ZOu2U5CWLC8GYC8E g406xHR2hQZNaU91ndyzV3oQu/ge21L4DzfiuwpAHVJBqGDcYY0+FxV1EXhAwsWzKa61 PUYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IwB4vF+O; 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 gb22-20020a170907961600b006f5a8added8si2273537ejc.125.2022.06.16.06.40.59; Thu, 16 Jun 2022 06:41:25 -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=IwB4vF+O; 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 S1377163AbiFPNjD (ORCPT + 99 others); Thu, 16 Jun 2022 09:39:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377132AbiFPNjB (ORCPT ); Thu, 16 Jun 2022 09:39:01 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E36EC2B251 for ; Thu, 16 Jun 2022 06:39:00 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id z17so1544839pff.7 for ; Thu, 16 Jun 2022 06:39:00 -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=tZJ0udOOwaCxWMXlTkBG0pv6kYWe5fFc5cXr8AFWGxw=; b=IwB4vF+O7bkw0gmnipzROvuYX3jurvUS9fS3KCU/sdTK5DVzRyzIRSso7yMWQoR4XB +Ly595kBXCxhOfpHUDyAuLED/Td18kNYUEs6tzy2QG/BQb9uh5ederuqiMvkM0hVkDPx SfKvDeJfQDtbX0O0Mt57c/vkA5TO+7QYEtpRHBUcqW8tNQ9p0cgQt7NNm69X5UgNvq0b ZqK7E7hlY9kvnStImocycSZF3pBAgUAqcgarP02SUIQS3uM4BQFX8Jg7sBxjf8W53zxB YCPn7MuPyS4SMinubCY6953K6Qe+2cYsTo6UuP4BkvGxHlfxc9stUYIJFUq72+T/2o0Y TFKA== 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=tZJ0udOOwaCxWMXlTkBG0pv6kYWe5fFc5cXr8AFWGxw=; b=bPLshLSbBHDdIs+774tZI0xv6p1cZyRj3eEJEJoe3rM5Qu4vWK49H4XiG+1mzToUYI w5eL/AePE15uvnmB+yHM4kbjNg0Ger7AFWgc6b7xgeNNjgsq0T0Etj6A8jNINbY0DYmm h7taPQC+vkDUePPDFUpqT5HaZhV4EiF6MlvvR7WAGDSox6JQ9m0o/eFb9TIWEqr8LFxm E+M2H6YXfU+YyGzUG1W+rI+betj4irqhmx9sIZC+pChRyOQ8uvgHlvkmXEHzUmiHUSkB LuoIy39y+8/a6BmmfwSo5YewyfaaLcUvbkc7lb4ZgbGkZVNo9a8D4oCvf6+vEjFH/QhO tbng== X-Gm-Message-State: AJIora8s7/UmpP0Pn1DN9QGpiFfCtPNUZFfPHdI5ndOzLKN9utk3gLzO Iv2IZh+/w85D+2dhAtarOzyVZw== X-Received: by 2002:a63:3e0b:0:b0:40c:42db:6601 with SMTP id l11-20020a633e0b000000b0040c42db6601mr161415pga.586.1655386740360; Thu, 16 Jun 2022 06:39:00 -0700 (PDT) Received: from [172.20.0.255] ([192.77.111.2]) by smtp.gmail.com with ESMTPSA id x16-20020a17090a165000b001e667f932cdsm3822017pje.53.2022.06.16.06.38.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Jun 2022 06:39:00 -0700 (PDT) Message-ID: Date: Thu, 16 Jun 2022 06:38:56 -0700 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> <381ff739-e898-8812-d549-df7101f0eaa2@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 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 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? Best regards, Krzysztof