Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8953438rwi; Tue, 25 Oct 2022 13:06:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4C2bNCNL9FRb/BeKy90jU7dCrN1BTuQgfyay9Efmu0nVnnERDGWIcoYoB8nl1jBMfEZF7x X-Received: by 2002:a63:5656:0:b0:446:8eb5:a2c5 with SMTP id g22-20020a635656000000b004468eb5a2c5mr34903492pgm.336.1666728381785; Tue, 25 Oct 2022 13:06:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666728381; cv=none; d=google.com; s=arc-20160816; b=OdENpqYds9cgqciLinHLsgQjjs6eXCirkGjxjKvkHZ9yh5sUHrIWx0hl2kdjorB9ya QyiOubyImCTMuA7EPs5HuKvkvA0ZJ4ufh8aBGh1ZKt+cPAu0hajey4uI76N1m4mdHjzJ jccuRkt9OgoajIEcFOWR1tbH2HMfsoUqeYOl/jIryzKIzcEZ5df1+23Isu3NDM6kBAGF ZGxwoBhl7+H3qOMIe4Jt3rK2aTyR5wJShLuFR4K7KPlbQ88SiH1p0+4AE+X819Oi06S4 JB+57gzYM2lPCyyj6Jh/HwosPeI5AKCDUiRdCqNo7a5jIo1lFMa9/LKLSUGNp50T3wT4 FOqg== 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=nsy/E/McG6wphxcYFdjdUMTRPfbaeJ0Z5p5LSzNi/vo=; b=EFqt8XNXAbRMEEdc0q8GugyXMn/6jTXvKRQSy+N6+K+yOlWO+Gu410V6xqPX/hAG5t BKu0B0Gk1z7BhYqv/rXFmOU6IB++XUG7ES2vKmXfpbKn90BcywO/hAUVVoa7bpRQZnpT fN6el6MhRmjhxxGs7BUWz+QXgdCDDJLqSgVM4Ftz1rx+kIwPHGPNEwqtQUb8XJQLkL6j Vo/yiJaHBOLQig5upfbMt93r5RG8fJYdFtjUZpw8ixw3UCEqKTWOMrhvgWqbUk53gTlA eHAI7MY45reEpF2lvLXfPM3LGz5yymtgSwArjOIebwpvLmifqprPmR6rFLPGACOc+yDx qijw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RdjgjIJi; 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 oa9-20020a17090b1bc900b001fb706e96afsi16170255pjb.182.2022.10.25.13.05.50; Tue, 25 Oct 2022 13:06:21 -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=RdjgjIJi; 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 S232359AbiJYTsp (ORCPT + 99 others); Tue, 25 Oct 2022 15:48:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232304AbiJYTsk (ORCPT ); Tue, 25 Oct 2022 15:48:40 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65EBBF7089 for ; Tue, 25 Oct 2022 12:48:39 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id f8so8938401qkg.3 for ; Tue, 25 Oct 2022 12:48:39 -0700 (PDT) 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=nsy/E/McG6wphxcYFdjdUMTRPfbaeJ0Z5p5LSzNi/vo=; b=RdjgjIJid3w2NovUK1hSPAckw+AekRfr7Gt2LGMF6fw7aTtpYrGBc6556Xfz8BtVK/ x8jJevoDOug7BDK+/EnIVxGOg4VKRv73vLTrDrXNio3XcQnVD1vBh9z3wZcbdLr2/34M xqR8XEfTHRaVz9QDTqC6pLb+tnlGfMVaWPPlOPRe6jGGsMwYugutKD4KfzWY9yS0289S RDcVpSSJI0TF+n0WAjBdLnIdat6To60QJ/fiGURxkOOlIRiLpuqhLNfzCHPIBV8SQpzN gSgXV6JSQ5Kb0WF3He8HLNhj1UngD3XRxD9TZAOiEEnYIFW0J7X8gzv2dvKJhxRd3Lpy GnUw== 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=nsy/E/McG6wphxcYFdjdUMTRPfbaeJ0Z5p5LSzNi/vo=; b=hKw6mXXNDBf8DYmXK3YNcBg2kDCCjjLv1YS5LZdl1dJ35p0J1Yi8jxWAzGvR4Vuebp OH08IuNqZBpxPOmWTOIr7m48KnVEVhyhUOtuUnqROAY6HF7WMoHRlHjFzXACPBkuKv6R xzaTAwL3bCWxKFijqLtYwJl24Zscp19TspRGGuuvALQfUcYgJyBV+LoFTGm9rJuue0il fhk4gXgLZidhcBohRZ9dcv6e79IZPu7HpNe3NGxTIvkf41UVwyV/Acpc6bxfvWALqDTJ nTMttvJmV+hEvyC8hzjIG9rT5nSFxzI3SIJZK2cS0MtMRPRDKI/3+Ejau0FwhmZR90u/ HK1g== X-Gm-Message-State: ACrzQf0u+P0s9/DF+GKzAb1rN9Pf/zFcZb2foPgnkw0DT5lO0BgC0G3X pvEM37NuoNTNp4pziw1TzTYjWw== X-Received: by 2002:a05:620a:2618:b0:6ea:908:120e with SMTP id z24-20020a05620a261800b006ea0908120emr27840879qko.645.1666727318586; Tue, 25 Oct 2022 12:48:38 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id t30-20020a37ea1e000000b006ec771d8f89sm2515328qkj.112.2022.10.25.12.48.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Oct 2022 12:48:37 -0700 (PDT) Message-ID: <8a4048d4-2675-96ed-89f1-db77084d18ba@linaro.org> Date: Tue, 25 Oct 2022 15:48:35 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v1 2/5] dt-bindings: soc: hpe: Add hpe,gxp-plreg Content-Language: en-US To: "Verdun, Jean-Marie" , "Hawkins, Nick" Cc: "krzysztof.kozlowski+dt@linaro.org" , "linux@armlinux.org.uk" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Rob Herring References: <20221011185525.94210-1-nick.hawkins@hpe.com> <20221011185525.94210-3-nick.hawkins@hpe.com> <820095a2-3722-5c3a-77fb-5a6b6b44e1c3@linaro.org> <7c9e943a-4806-6339-cee1-9156e7792111@linaro.org> <0b6dd763-365d-6f35-59cb-18c599b73d3a@linaro.org> From: Krzysztof Kozlowski In-Reply-To: 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,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 25/10/2022 15:39, Verdun, Jean-Marie wrote: > Hi Krzysztof, > Use mailing list style of replying. I can bear the lack of wrapping (one huge sentence), but top-post is a no. > I think what we try to do is to introduce an abstraction layer between the interfaces and the drivers, as our CPLD interfaces are platform dependents. I mean the Power On control could be at address 0x09 on one platform or 0x119 on another one. We would like to find a way to avoid to have to change the driver code, but just feeding the driver with relevant datas, which could be into a platform dependent include file or through the proposed solution that Nick is promoting. I think this was already said. Repeating it, with very similar words will not help us... Let me be then clear: I care little about your goal of abstracting some driver code. I care about proper Devicetree bindings and proper representation of hardware in Devicetree sources. Looks like you want to hack around Devicetree to match your needs. This does not work. I gave you the proposed solution based on my feeling and limited understanding of what you have there. If this does not work for you, then life - you need to find other solution. > > If the CPLD memory address space was consistent between platform and generation that would be great but unfortunately that is not the case that is why we try to break down the dependency into the driver code and retrieve the data from another place. I don't see how this argument is relevant to my questions. I did not propose anything which would require some "memory address space consistency". Best regards, Krzysztof