Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1053608rwb; Tue, 29 Nov 2022 08:25:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf7v8pPyO5VSI/ZCp70brZa3qI+A3Eo8s1mPfgC+Odsf42WTJ6hPtoEhuYzdlNm6nEYWT/s1 X-Received: by 2002:a63:5825:0:b0:477:f6be:b63d with SMTP id m37-20020a635825000000b00477f6beb63dmr16019202pgb.512.1669739103422; Tue, 29 Nov 2022 08:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669739103; cv=none; d=google.com; s=arc-20160816; b=r70zfWaVBUtwNOiJYMRiKY8WMNBl+ZLXkA/pQlhn1KZoKj84yh9NN7FwY8lBtb/+nf wrWUBiJojMhx5lr70Cm7Aq0CqVGpuevVI4KEX+ztp0fbM+gVuOwwSaKZ4MZN75tSupnq DAXlLJTVJmt0J2Pz5j7IewwA/lSSH9fi+BKoNThh7uD4ASFjs746f9CNpgAPSr0Wn26M u3m2YxO2e29QEe6a/+qMsXO9a23trIZR+CauYuu65srK44MpiQVVqkbTo9y/+XCnDA4e 1Fba6c4SU4s3u+fwz8/ITlyazalEvsOnHT1FzzI1vBn5+Y9oB843cQRbI/iiNasqzdHV h0Jg== 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=13+qbJOmWTqxbFOdDOLgCT6uW4S43S5+kJ0NK9uACko=; b=N3d+K/jC7h5xIaJSxEXQeL4x5Ri+y40ikcbSfuqXuzYhyLFECNK+I/VRmyyAS37KDk UDz1jcFVSObxz4AgiBoj4Q2r1aXwqkFuR3ZKNLROT4oLLerEk2SWsU1OLI8tw4v96O53 9h5nVbTcs4r3DBCflsSOfWOiQ2YwE7Z8sUX/3djrhIJmCryON4smus5kFR73MXAUn/QD UbVXMDIsKvJ1JFTQfDoiCWXldLD097rLanVvOBb7NMOjFfe8S+CmWZPzvxKInixZvfmd XRxdhYmqodo1E+czFE80KsmMOGSHxjDFuKU0ojjRVfKT7NvuHC479vrskI7FjvkzOxQU TZ4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eFbk+HGJ; 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 mi17-20020a17090b4b5100b00213d1d59224si2242442pjb.136.2022.11.29.08.24.51; Tue, 29 Nov 2022 08:25:03 -0800 (PST) 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=eFbk+HGJ; 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 S235803AbiK2QEx (ORCPT + 85 others); Tue, 29 Nov 2022 11:04:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235705AbiK2QEV (ORCPT ); Tue, 29 Nov 2022 11:04:21 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30F561BEAB for ; Tue, 29 Nov 2022 08:02:44 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id g7so22750897lfv.5 for ; Tue, 29 Nov 2022 08:02:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=13+qbJOmWTqxbFOdDOLgCT6uW4S43S5+kJ0NK9uACko=; b=eFbk+HGJxPawBYhTluxHbS2J74enMGNbBWPwjZnYQ/CWkejbCh/CQwm7RT79kNoj4V 26fei0JhV0J1NsodfAftlgIIS7xDdt/QA51zN29aHc/+AnUmU7cYMno6t72DjXbtdjfC jonXr6tyqeXSXj17TU1/lroRd1ZFQebUiNEHvRw88JSpFwClmZ/Hrcss3A+3XvsUHTUO J5lRk5BZ2JVrGGCH1/ponGmfnIJNNg6pj5xFJtrYtJAunfy/6Fm2Ndp9/XB+m6xXXaix z/xG/Ryq0S/NoARPexwy4IvXPc21KD7C+B46voVXGO2VbNQul00ARFNX4nveIjPKCIJb L0NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=13+qbJOmWTqxbFOdDOLgCT6uW4S43S5+kJ0NK9uACko=; b=jNHfXINVI+UScNDn2uWdVMdEV1M6FZdV1gtsZVhi8RAyU+cm2/WqRMIJgGtbzjDs+r d/aIRwOauC43lTMhOtst6Nq5iIue3vNoPt13MrmmKpaH3XN7TeRCJcUTT0cQMhBj1Y57 hahOV62WMig1bxELP90lqiMPDbZ2mbEAk9psVflymMSbeG+uvhQ56CluH3HSf8D8WZGr yyS2MPigaIARBux7szT9upXqWnP+o7+0no12KNxUNUqE/D60+5WP5qqqnseuOnR0XSu+ aTzM6Fvah0cri6cHLVpbWi8YsPNUHcuayYbwNIDTUaRY9ze0TV8yEq/ny8evcElwN+Ud kS3g== X-Gm-Message-State: ANoB5plfmDaDqzG/ghQzAP04LpUkGltmAoRJnZWhT2DYqI3hUCXpbEMA nkvUeNEUq9RnqCaXfhED9atFCg== X-Received: by 2002:ac2:4bd0:0:b0:4af:ad36:7a85 with SMTP id o16-20020ac24bd0000000b004afad367a85mr19013323lfq.617.1669737761605; Tue, 29 Nov 2022 08:02:41 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id w18-20020a2e9992000000b00278e7800715sm1570514lji.16.2022.11.29.08.02.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Nov 2022 08:02:41 -0800 (PST) Message-ID: <0a8c3ed4-c16a-4014-94f6-cf177630e605@linaro.org> Date: Tue, 29 Nov 2022 17:02:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 1/5] dt-bindings: pinctrl: Add StarFive JH7110 pinctrl definitions Content-Language: en-US To: Jianlong Huang , Hal Feng , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org Cc: Conor Dooley , Palmer Dabbelt , Rob Herring , Krzysztof Kozlowski , Linus Walleij , Emil Renner Berthing , linux-kernel@vger.kernel.org References: <20221118011108.70715-1-hal.feng@starfivetech.com> <20221118011108.70715-2-hal.feng@starfivetech.com> <08db0f3b-5222-9460-26ba-0e6380d16583@linaro.org> <0ceba170-f844-e733-a49e-e67746f9f836@starfivetech.com> <093ea507-4c42-1af9-4896-64c1a918432e@linaro.org> <30c21787-0c48-ff50-1d63-8e69bdcdbe30@starfivetech.com> <339be655-aee7-e1a4-51be-28ea20de6792@linaro.org> <3db802d6-114f-097a-6c69-e7b40e4d2764@starfivetech.com> <8677051a-604a-210c-066c-75db444d6f09@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <8677051a-604a-210c-066c-75db444d6f09@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 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 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 29/11/2022 16:58, Jianlong Huang wrote: >>> >>> Drivers rarely reference macros directly, mostly parsing dts and writing them to registers. >> >> So drivers do not use macros? Then there is no reason to store them in >> bindings? What do you "bind" if there is no usage (and we do not talk >> about DTS...)? >> > > Where do you suggest to store these macros used in DTS? Sometimes they do not need storing. If they are worth, then in the DTS headers. Few platforms (Samsung, All of NXP, Mediatek, Sama5/Atmel) are doing it already. Best regards, Krzysztof