Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3816869iog; Tue, 21 Jun 2022 06:36:26 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tTYO0OJKVc2aGFCQgsgB1WjXv9HG2V7U31cTeozBj6qJP/DndhEBfIBKSZqRlqOFRWf74E X-Received: by 2002:a05:6402:28a2:b0:435:798e:2988 with SMTP id eg34-20020a05640228a200b00435798e2988mr15746021edb.217.1655818585946; Tue, 21 Jun 2022 06:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655818585; cv=none; d=google.com; s=arc-20160816; b=qgXWSQDsiabC20QRoZjulXfbMvG6DV8PcjiMWfcrAD6DZn/uOAIgqNwI4+EoXmB7Co l8dLlRVoW6oPlJikSKKw8Ks4SJdA4hNqquvWGdHjPSmYvxTHuafe/rMpNxXNuoPOYOeA paI5qVa+o/hE7m2AxPtXr77UIRiJL3zHixrW9wYlHHgEf6IkhFH5qbo+0fRnp4wBs/qD K/MarJtEygY5VyhUQ7TwDLnjkraxUFlZtf6jkRvD0GbpLtpmtokcAN910QXcHP5vRIWG mx6CqDZIETQN2PcXUW8xbhmTpD5W0IODiFBPvdUhZwkS0FS1sh6ncO46Q/2CJZI6BqQT iNQw== 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=uc5jJq0YvTzf8BEPMUgKkXPq5VOMLMXDxdKkAuvbItk=; b=ABLTOIYbpM8/quA1P2lzZFLAmvocYyUPUbShCUgFvJry9Zj4uejeOD19176HRgJ1NQ pANx89Goo+M2zlJhQyG2i7Z6W0BFpZrfxMHF/4lb6iksKhseS208FVpT0cerUWJpPLyx Ja4AAzpcJPy3Qo/DXDobPElDJDtt024d3XbzUUW1iq/KOdRwqrN6UdAjuT1zQ8iVABIu HDmfrzag99iPSxYW7FCbhS2JsicwL7MZmI1VfdHTzbzXRYUIDo9FYN0cuZuu1yhn6dSn Thz6Yw1xNqfllW1NKEnDM0IEGTrrQaia1E57jc/ZsF9jvw3hETeTmrIGeHhx5/URyz+A 4b2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o51LpaWx; 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 he16-20020a1709073d9000b0071216b08163si15854332ejc.264.2022.06.21.06.36.00; Tue, 21 Jun 2022 06:36: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=o51LpaWx; 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 S1350330AbiFUMoU (ORCPT + 99 others); Tue, 21 Jun 2022 08:44:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350394AbiFUMoT (ORCPT ); Tue, 21 Jun 2022 08:44:19 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFC3412ACF for ; Tue, 21 Jun 2022 05:44:17 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id c13so14721797eds.10 for ; Tue, 21 Jun 2022 05:44:17 -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=uc5jJq0YvTzf8BEPMUgKkXPq5VOMLMXDxdKkAuvbItk=; b=o51LpaWxCfqFP3YFV66q9y40X5oK1xKmN9I5bVSTSRV3Ue6tOFTcBotGnOvkcAkeSG JWEuMhVcnHIviKxc+2GgZkmiJALfB8BlzdsSAe9d20F8H7fO+62VPXNVWD6oCHGgSY8z +ZaSdxgU7R8eKt8KP2ie6HuPRGZLlefknuUK+XhMdmuN9BzV+/SoJcwr2WzdOdm8mD+P oOAOGMlX7iy9zhl2MwrL/HOldGCYQTm5hksNGhq7ZKoy6UmGkQYA2mlbK//z5hPyWKzj tcjVSqEmXu6NfJapXTca1fVPcZPXpmCcyGKBi2VwY5afvx6bXrBW4VmYoynDOk946vf4 Fwmg== 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=uc5jJq0YvTzf8BEPMUgKkXPq5VOMLMXDxdKkAuvbItk=; b=drVivs2MLHEN+t63+C6LTAqLQPTtlp7mUspuWclclBf8sLKNawsMA/HRX7nsEpBkLC ptlaz29T0P8vJPmo2wySJ4p47ozdfJ2Mr+K7LWU8p6DITpRfd4p/FrLzIDxdYTYJYl8w g10iNedHcHP+D7qVZnuk69njdm8MiFNB4d0PNKTB5PZPvtelsJm6isa4mxCAqYvXtxdZ zHkG3oa2RNvKZgEEdKpElwTfhLjVd5gW5Hoh0h5b44XAQuZB2qfrooYrDoBkBl8jaUxm Dcz5XfOLxAqHWk/KcrJSpro8Q55aRpPmLgLliZ8tm1wL5dTv2Nehp1CT5FA4jiJdU8Zn p/nA== X-Gm-Message-State: AJIora/sK0TNEuLBLpg6lTOatPhbwVf1mFX2kr7wDwHGzVbRfCpddBYm FF78HxS7aTkplEIPeYOVaIMOGg== X-Received: by 2002:a05:6402:5c9:b0:420:aac6:257b with SMTP id n9-20020a05640205c900b00420aac6257bmr34794630edx.128.1655815456285; Tue, 21 Jun 2022 05:44:16 -0700 (PDT) Received: from [192.168.0.220] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id u9-20020a1709061da900b006fe8c831632sm7585849ejh.73.2022.06.21.05.44.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jun 2022 05:44:15 -0700 (PDT) Message-ID: <4a58c6c4-be0e-e56c-2498-a14ba46b508d@linaro.org> Date: Tue, 21 Jun 2022 14:44:14 +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: <8d806fc9-0067-2c8d-ec41-13787c7644a2@linaro.org> <20220614011616epcms2p7dcaa67c53b7df5802dd7a697e2d472d7@epcms2p7> <20220614012713epcms2p810386a5137fbcf6aefc41fe086badc0b@epcms2p8> <20220620075548epcms2p61182d9d7f41fadb1eb139b349bf7486d@epcms2p6> <20220621074244epcms2p23cb631babfb87e5abb416467fb66e521@epcms2p2> From: Krzysztof Kozlowski In-Reply-To: <20220621074244epcms2p23cb631babfb87e5abb416467fb66e521@epcms2p2> 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 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://elixir.bootlin.com/linux/v5.18-rc1/source/Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml#L42 > 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. Best regards, Krzysztof