Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp5620186iog; Thu, 23 Jun 2022 01:45:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uvlgQtjFXvgQQliA7VlaQNN/J7fjq1ZGtwVIMUQLSLUK3Dr1ksnNzarPvLvFDqJ4BpMggX X-Received: by 2002:a05:6402:3299:b0:435:787f:8058 with SMTP id f25-20020a056402329900b00435787f8058mr9196748eda.79.1655973901363; Thu, 23 Jun 2022 01:45:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655973901; cv=none; d=google.com; s=arc-20160816; b=EUIPj6z/SueHNatTxe1WS9Ylxn9W5SO5U8xp/gS58C4NdEDqasW8/Rl2ag/NIXLNUP o6g2kUI8+fgT6UxZq857pda3sKm8C3De3XxWIa8r/t5DVDqTWinFF1sy+AE7BpJ7J6l/ yxzhLW//a+D9sP+3dCo9QJJgq3nwLh34dMEbOt2JYPfihwtg4ysYuHWT6ka4mF/Wl15o oNjnEippNHpdN/zQDdz+InF49lwr0SU9Ph/iNFz9vCIromiF+94HQ7x7gcddj1cBKRhR 6+rvYri4O2p80I+jZf7AltlCq1Mi37JowW31H8m4r4UPpHBQVK9Jv0mX0CtwQSq69B9O +2Cg== 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=fpmetajmsJ4rrJ1uUdIUWn56HzIzZWmFHeYAu5H2Gt0=; b=D2adoaVnRWEVQuMG0vHSBpKgMMMDmhDQuJsJlVqZs9xyGycameg2uhKnI69MzZpnUm zpY9OOMk/YlhwpF8IO/z3qBB4BTVdcA1QcGyvaQVKkrHzoL49uLgMLMy9SuIiBlLZp9w ztAPFZam/GV9VyTPnlkoC0yfpFCl6HUUNMzSEvFKu67Q9PcIpZHhhsrrX/foeOKi0mxe W8bIPRCk0VCg1VbxHDuGdsh0vxN8iUofVo+4p6d8GVgNR9e+DEhlCK0PQytsip7z9fqS J2Y1d17gFT0GTJVfec5Oz7xBWaM3iul0/h2CVBX4WXR77AvOa9DWugsOZR/qqx2Kb7OM 0kdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M4Zfhkcj; 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 o13-20020a17090637cd00b00722d84b7945si3221ejc.918.2022.06.23.01.44.37; Thu, 23 Jun 2022 01:45:01 -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=M4Zfhkcj; 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 S230071AbiFWI1Z (ORCPT + 99 others); Thu, 23 Jun 2022 04:27:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229959AbiFWI1W (ORCPT ); Thu, 23 Jun 2022 04:27:22 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2547488B1 for ; Thu, 23 Jun 2022 01:27:21 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id lw20so17096419ejb.4 for ; Thu, 23 Jun 2022 01:27:21 -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=fpmetajmsJ4rrJ1uUdIUWn56HzIzZWmFHeYAu5H2Gt0=; b=M4ZfhkcjVpvuaIAvXUrj65RGAjFAW+y0F5PTl5yD5J8IMGGgiqjVF5zenCecEX0E+9 Bh5Lq0vQqJ2KbWl4ijIIaUtlNbJKt70ht8BBvtcgLxahH3cHFeEgOkKBy+t5eK1brgQH StNrZbq8yvAtVf04NO9SXrEYNUh3OBXnF6IGTdNzsVR73AS3IOhvge0OdBz2As3uymkt 9Q4hvroq5n9m/aRKd5MjDzIrQXQHCURYPRnHy5CvxmFiGumoV0v3st4FTxLcQ+keDr7W sTGL4IbK3wjyoVnxlQejPTLk+Nm0a+vG0m7IJ3wwx6AK5y7jQvkiSQ3ONL7hUO+nSeeV sGXA== 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=fpmetajmsJ4rrJ1uUdIUWn56HzIzZWmFHeYAu5H2Gt0=; b=1zt+p5RxDvS8I9u40Ytu6KyndRyZAeKrZcVJqvcnqd6pr1fKJinJVTlnWvo/RO4FZQ dVQV36CMy+cKWxOA9p+MyHDWeA0GKrUQd3Rx/HuZqF8D2iUHUR8C6MUs7X9qRaDsTjf3 8qlD1GSoc2tjBhGGu2/dESoc6XZ1rKOrsJz89Gpe2KUQ1xF2SeoqtT6XWKkIhplulSvE oaINugNPNJj8HTP+ljENilzo049EW5YlVgXd3LJFJ/Ujtt37OB8ykGd08OWRNpGu3m2K bqTRMcSAKEsEMP9tYOpOm1HHmUFtqV1gvOFRK9fxMPnBly/D0JOxu0KgwF14DFKaXtG1 kdHg== X-Gm-Message-State: AJIora/L0UEYDvol7agqEwSEdJEysPqoN1kZZyDo/Rr0Ho20a6GhnLjq IHXOI0BiqSK2d5hTgBV7uDjiDQ== X-Received: by 2002:a17:906:974c:b0:722:eaa7:5e5d with SMTP id o12-20020a170906974c00b00722eaa75e5dmr6565989ejy.541.1655972840190; Thu, 23 Jun 2022 01:27:20 -0700 (PDT) Received: from [192.168.0.226] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id 4-20020a170906328400b00722d5b26ecesm5003426ejw.205.2022.06.23.01.27.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 Jun 2022 01:27:19 -0700 (PDT) Message-ID: Date: Thu, 23 Jun 2022 10:27:18 +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 v3 1/5] dt-bindings: pci: Add ARTPEC-8 PCIe controller Content-Language: en-US To: wangseok.lee@samsung.com, "robh+dt@kernel.org" , "krzk+dt@kernel.org" , "kishon@ti.com" , "vkoul@kernel.org" , "linux-kernel@vger.kernel.org" , "jesper.nilsson@axis.com" , "lars.persson@axis.com" , "bhelgaas@google.com" , "linux-phy@lists.infradead.org" , "linux-pci@vger.kernel.org" , "devicetree@vger.kernel.org" , "lorenzo.pieralisi@arm.com" , "kw@linux.com" , "linux-arm-kernel@axis.com" , "kernel@axis.com" Cc: Moon-Ki Jun , Sang Min Kim , Dongjin Yang , Yeeun Kim References: <20220622072159epcms2p52a21560a7e60cffd13ea70e55ac15428@epcms2p5> From: Krzysztof Kozlowski In-Reply-To: <20220622072159epcms2p52a21560a7e60cffd13ea70e55ac15428@epcms2p5> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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,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 22/06/2022 09:21, Wangseok Lee wrote: > On 21/06/2022 21:44, Krzysztof Kozlowski wrote: >>  On 21/06/2022 09:42, Wangseok Lee wrote: >>>>>    >>>>>   samsung,syscon-bus-s-fsys: >>>>>     description: >>>>>       Phandle to bus-s path of fsys block, this register >>>>>       are used for enabling bus-s. >>>>>     $ref: /schemas/types.yaml#/definitions/phandle >>>>>    >>>>>   samsung,syscon-bus-p-fsys: >>>>>     description: >>>>>       Phandle to bus-p path of fsys block, this register >>>>>       are used for enabling bus-p. >>>>>     $ref: /schemas/types.yaml#/definitions/phandle >>>> >>>>  This two look unspecific and hacky workaround for missing drivers. Looks >>>>  like instead of implementing interconnect or clock driver, you decided >>>>  to poke some other registers. Why this cannot be an interconnect driver? >>>> >>>> >>>   >>>  bus-s, bus-p is a register that exists in the sysreg of the fsys block. >>>  It is the same block as "fsys-sysreg" but is separated separately in >>>  hardware. >>   >>  Two points here: >>  1. If it is in FSYS, why it cannot be accessed with samsung,fsys-sysreg? >>  2. If it is only register, shuld be described like this. You must >>  describe item: >>  https://protect2.fireeye.com/v1/url?k=0f529a57-50c9a332-0f531118-000babff32e3-50938d8198077d59&q=1&e=32284e69-bbed-4d09-b6d6-0a43428aebf5&u=https%3A%2F%2Felixir.bootlin.com%2Flinux%2Fv5.18-rc1%2Fsource%2FDocumentation%2Fdevicetree%2Fbindings%2Fsoc%2Fsamsung%2Fexynos-usi.yaml%23L42 >>   > > It would be better to access with fsys-sysreg, but their h/w address are > far from each other. The fsys block consists of a system register and an > additional control system register. "bus-s-fsys" and "bus-p-fsys" are > additional control system register. sysreg and additional control sysreg > addresses are far from each other and there are h/w registers that perform > different functions between them. > >>>  So, get resource is performed separately from "fsys-sysreg". >>>  They set pcie slave, dbi related control settings, >>>  naming "bus-x" seems to be interconnect. >>>  I will add this description to property. >>>  I don't think it need to use the interconnect driver, >>>  so please let me know your opinion. >>   >>  Please document both in the bindings and in the driver usage of this >>  register. Writing there "0" or "1" is not enough. If the documentation >>  is good, I am fine with it. If the explanation is obfuscated/not >>  sufficient, it will look like avoiding to implement a driver, which I >>  don't want to accept. >>   > > I think i should add enough description. Is it sufficient to modify > the name and description of property like this? > Looks ok. Thank you. Best regards, Krzysztof