Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5039404imu; Wed, 19 Dec 2018 04:42:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ul6A/SoZ+lheauc7tU6ibMcv0cbR7KZbnbcRI2loS3PNwLzd5L2IvHoGBrygMAwPdChsoE X-Received: by 2002:a17:902:2ec1:: with SMTP id r59mr20461018plb.254.1545223375677; Wed, 19 Dec 2018 04:42:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545223375; cv=none; d=google.com; s=arc-20160816; b=vGfjbFNzJkMvVNXesEDglHvFQjWbEwXa0i85CyRuSWOidvcpzi4SnJT5D2X4orQ29U 2So2+HBiCpYH2nbiYCaiTWXh6CV7iizvQpzI47GsDnpFvemyYLC4xIuYnthrQrWV1x/Q iyZkc4YPApKiXe52zOrlVtatpfrR4apcuB6qMsoMWQK/cN86WcoHLI7IphLA2yuv/bvl XgBcpZSuwZznHY+PcGc1A65hRoLIkdH1DsZ1kKR5FpdGG1nNiUABWHqhqSdgy4lSj8SD g9nB1moi3Ov4dbd59NJDAJOR9FMhRlmv34SWMVqAELpu3SvTK0j2dq3srSL/cpchK26D bmwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=9f7c3YNcrG2DZfZZ8zgkDeeZ4N2bqxNJBQRSA2jBEJ8=; b=L0TMqsnIp22ZF0EID0WlJUN86536gHEDRm/81996ZH1EayqxLHIp4F8m9ws19xeYOE NO6bzxbNmb9G1rw8Vi3Cxg9NLp+R3pQWODBSNSmuxnHg5Z5xlIX0J7JyTEJH4FtRd5Td 1Q7fcOiaW/sLt2/i5RK63AcXnzmQsiOGRWl9BMK/ly+vY/Qb00Ft/fnbOBDYnCxlzefr vLqcihoa/RdS0bLzaiBpsqbZrjuh7nTf9V74y8BjKffM6QPWCW5bTOn+9cgAEvV9SUA2 0MBCe27fODGFNkKi1dH/k0b4b/cEcKYmzZD8as2HHrp165lOXtsYoXhuxAp69/1bP2MA hOYw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a13si15731356pgb.412.2018.12.19.04.42.40; Wed, 19 Dec 2018 04:42:55 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729169AbeLSK5a (ORCPT + 99 others); Wed, 19 Dec 2018 05:57:30 -0500 Received: from mail-sh2.amlogic.com ([58.32.228.45]:8380 "EHLO mail-sh2.amlogic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728297AbeLSK53 (ORCPT ); Wed, 19 Dec 2018 05:57:29 -0500 Received: from [10.18.29.147] (10.18.29.147) by mail-sh2.amlogic.com (10.18.11.6) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Wed, 19 Dec 2018 18:57:48 +0800 Subject: Re: [PATCH v8 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller To: Martin Blumenstingl , Rob Herring CC: Lorenzo Pieralisi , Bjorn Helgaas , Yixun Lan , Jianxin Pan , , Kevin Hilman , Shawn Lin , Philippe Ombredanne , , , Yue Wang , Qiufang Dai , Jian Hu , Liang Yang , Cyrille Pitchen , Gustavo Pimentel , Carlo Caione , , , Jerome Brunet References: <1545120286-129258-1-git-send-email-hanjie.lin@amlogic.com> <1545120286-129258-2-git-send-email-hanjie.lin@amlogic.com> From: Hanjie Lin Message-ID: Date: Wed, 19 Dec 2018 18:57:48 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.18.29.147] X-ClientProxiedBy: mail-sh2.amlogic.com (10.18.11.6) To mail-sh2.amlogic.com (10.18.11.6) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/12/19 7:14, Martin Blumenstingl wrote: > Hi Rob, Hi Hanjie, > > (sorry for being late with my question) > > On Tue, Dec 18, 2018 at 9:05 AM Hanjie Lin wrote: > [...] >> +- reg-names: Must be >> + - "elbi" External local bus interface registers >> + - "cfg" Meson specific registers >> + - "phy" Meson PCIE PHY registers > I have learned that there are two PHY register designs: > - AXG only has a PCIe PHY > - G12A has a PHY which supports PCIe and USB 3.0. The PCIe part of > this PHY design is compatible with AXG, but this design also supports > a USB 3.0 port (it's an exclusive choice: either PCIe *or* USB 3.0) > > The PCIe controller itself is identical on both, AXG and G12A. > This patch adds support for the AXG PCIe controller and PHY within one > device-tree node. > > For G12A I propose to add a separate "phys" property with a phandle to > the "combo" PCIe and USB3.0 PHY - this can be part of a separate patch > though. > I would like to know whether it's OK that for AXG the PCIe PHY is > described in the same device-tree node as the PCIe controller (in > other words: we're not using a "phys" property here)? > > > Kind Regards > Martin > > . > hi matrin, We do had a dedicated PHY driver for a time at the begining of this patch series, but we decided to remove it and integrate into the controller driver after series reviews and disscussions, and the main reason is it's too overkill to have a dedicated PHY driver which only do the RESET job. Of course we can consider the dedicated PHY driver for G12A upstream in future. thanks hanjie