Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1466764ybh; Fri, 13 Mar 2020 01:37:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs54MV/j9VytDDXsYj/OhLoylHBrBz/tYQFF03elYtnfMx6URQ7m5WVJQeZk/JfWATuAVU1 X-Received: by 2002:a05:6808:3b3:: with SMTP id n19mr6098429oie.114.1584088639797; Fri, 13 Mar 2020 01:37:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584088639; cv=none; d=google.com; s=arc-20160816; b=oZH/7pfZsRBphVOx32QDNPisykV8J7O/rPiI+PavALzTCz+kNX8ZzJai23oxUIrWQK y875Azs1fbmEAnyXodEQoucCSlHuPUSLVzYnyznXlAsjmsprE1O1bNTalsYzcNSfxCGn TxztCNRof8PVLMtzpF0I1+XRJ5XCj35Yn43WXBgJ9Yp5oMaCZes1o6S2J+4QSTe0eX6E ux2EUWoSacfalcWpJfLSjV1AaTMlok/UQ1cvp/HboZkM5MuW/Ju7FN0KkeIPdxHYtJmK C5l+MEzJgWhcWVLoJCx29nJqxAYOJTdmcm8z8uEAF9rGB83klnD6RWnWZh+RjsCrxJR3 9RJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=GVqhn/iyOL3dac48t3xyFxIZpz1usCm00DYjn5vSk/U=; b=Qm9BQnj8KdP9k7qmVvxTRjpGvjGuEW71degxR2yW+zOncXLlPxt+6J9SRJ9PxnOD8b 58VXZcHGxLz2iZm4lpwfoMXTI3L79inRILvFgukfoNz1msPtgYWo8O7709a864eGaMwk WmDitxJWS8CK0vy7PyQPnIZUCCyop1iYO8hvuv4qheu6kdM3raxkniyHJnB7LSyUef4n ZdnSDCEr4swvN/4h+7tPBnvlMuyPVADbSotIOZxw2fFloalcvZxx52jIQ+SNPNM2IXTn aaKF8hjNSA+vFofDpkrTLiv0yCZUK/uR96VDufdr+Nbr+0FQ29lPhdgjw7ZP1oJ8d4za /Rqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r13si4143951otq.279.2020.03.13.01.37.07; Fri, 13 Mar 2020 01:37:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726436AbgCMIg2 (ORCPT + 99 others); Fri, 13 Mar 2020 04:36:28 -0400 Received: from mga07.intel.com ([134.134.136.100]:46987 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726365AbgCMIg1 (ORCPT ); Fri, 13 Mar 2020 04:36:27 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2020 01:36:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,548,1574150400"; d="scan'208";a="322729313" Received: from linux.intel.com ([10.54.29.200]) by orsmga001.jf.intel.com with ESMTP; 13 Mar 2020 01:36:26 -0700 Received: from [10.226.39.34] (unknown [10.226.39.34]) by linux.intel.com (Postfix) with ESMTP id 160B3580107; Fri, 13 Mar 2020 01:36:23 -0700 (PDT) Subject: Re: [PATCH v4 2/3] dt-bindings: phy: Add YAML schemas for Intel Combophy From: Dilip Kota To: Rob Herring Cc: "linux-kernel@vger.kernel.org" , devicetree@vger.kernel.org, Kishon Vijay Abraham I , Andy Shevchenko , cheol.yong.kim@intel.com, chuanhua.lei@linux.intel.com, qi-ming.wu@intel.com, yixin.zhu@intel.com References: <9f049a5fccd080bd5d8e9a697b96d4c40a413a0a.1583127977.git.eswara.kota@linux.intel.com> <20200303015051.GA780@bogus> <5b71670d-91a6-9760-f4da-1b6f014a1ea2@linux.intel.com> <068bcf8c-83b0-57ee-3fb8-c0fe1bf6e5d8@linux.intel.com> Message-ID: <80c837f0-b708-5f5a-ae65-cd20ae71a2d6@linux.intel.com> Date: Fri, 13 Mar 2020 16:36:22 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <068bcf8c-83b0-57ee-3fb8-c0fe1bf6e5d8@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 3/4/2020 5:16 PM, Dilip Kota wrote: > > On 3/4/2020 12:26 AM, Rob Herring wrote: >> On Tue, Mar 3, 2020 at 3:24 AM Dilip Kota >> wrote: >>> >>> On 3/3/2020 9:50 AM, Rob Herring wrote: >>>> On Mon, Mar 02, 2020 at 04:43:24PM +0800, Dilip Kota wrote: >>>>> Combophy subsystem provides PHY support to various >>>>> controllers, viz. PCIe, SATA and EMAC. >>>>> Adding YAML schemas for the same. ... >>>>> +  - | >>>>> +    #include >>>>> +    combophy@d0a00000 { >>>>> +        compatible = "intel,combophy-lgm", "intel,combo-phy"; >>>>> +        clocks = <&cgu0 1>; >>>>> +        reg = <0xd0a00000 0x40000>, >>>>> +              <0xd0a40000 0x1000>; >>>>> +        reg-names = "core", "app"; >>>>> +        resets = <&rcu0 0x50 6>, >>>>> +                 <&rcu0 0x50 17>; >>>>> +        reset-names = "phy", "core"; >>>>> +        intel,syscfg = <&sysconf 0>; >>>>> +        intel,hsio = <&hsiol 0>; >>>>> +        intel,phy-mode = ; >>>>> + >>>>> +        phy@0 { >>>> You need a 'reg' property to go with a unit-address. >>>> >>>> Really, I'd just simplify this to make parent 'resets' be 4 entries >>>> and >>>> put '#phy-cells = <1>;' in the parent. Then you don't need these child >>>> nodes. >>> If child nodes are not present, use case like PCIe controller-0 using >>> phy@0 and PCIe controller-1 using phy@1 wont be possible. >> Yes, it will be. >> >> For controller-0: >> phys = <&phy 0>; >> >> For controller-1: >> phys = <&phy 1>; > > OH got it, arg cell can be utilized for PHY id. > I started working on your suggestion in simplifying it, but below > point is haunting while doing the changes. So felt to check with you > whether the better one is going with existing DT node or the one > without child nodes!. >      Existing DT node skeleton, replicates hardware design ComboPhy > with 2 PHYs. (ComboPhy as parent node and 2PHYs as child nodes) In the patchwork, i see the patch state is 'Change Requested', so felt to keep a remainder mail for your inputs on above query. I have waiting to push the appropriate code changes based on your comment. Thanks, Dilip > > Regards, > Dilip > >> >> Rob