Received: by 10.192.165.148 with SMTP id m20csp5434020imm; Wed, 9 May 2018 05:08:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6TuV3CNQA2MXrNlLt3NU4pyG6WmMHXzoVculhCyexiTaG0U38pLxSrNdYNlvObB5jVeUs X-Received: by 2002:a17:902:bc4a:: with SMTP id t10-v6mr45436133plz.343.1525867719343; Wed, 09 May 2018 05:08:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525867719; cv=none; d=google.com; s=arc-20160816; b=bef4geiJUlckh2DKfdXDW7sKEG27SqQuhgbTbTM9KY51qB/Sjb4moyif2wqE7HiUMJ Qw2uVh/Z9PsWUOYeyGjCsJIZxqBnCyJDWVGng60NVIfkAOeFPWuV1x/JG3OAimeRwBjO fczatT+xZ4dhpujxMtC7y/gJMtyTR8mMua1nU50kA/je+slo8azExrxmEIgXqt6GZ6YR ydej6mPbGeaCDsCvdbLbYk9dbF7/wjPHMXJr/l9L4F4aq+d0rFG0bN+zq6LkaT0GN9uq VafneItoU3L5kwwF6LZHFOnLi+dKsPq8LzlIrZWhNMlUcnBEWYVrYgjh3JIPd705ZTJK 1Ifw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=SeDRyFPglWVargQFIJytLkXiA4xZOI5Gcv4gB2wdpgk=; b=EYWFXu2/pQ8VPP224WQvCKGRF1wWZsOXwcNlMvaHiDVn38FXr03jAegLcbXBX2l2yq f7GPGmD7pGv0+z2zcDz9wFMII1jiUAL35WNSBhFkC3krrUuElUzbF2HSzYnzhF30yVmg B8uYilxoiNM2XXXTqKpUHG7xISPj+ssueapgYiaiKWitthO0onCN0YkIIHx4lpOOebAq sxCi/whnbq5KyUe9dT969ed3uoD7qWbEHoDnfKOeHEcSaFDW7HSGpd7fF50vHLtlGtga oecdQcUs6KW8UuqN2U4W/5VeGTVboLYagIXqAX89Qa2+aGDBJoI25yteuiDBpT+M9x9x Owjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ANxza0TO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u2-v6si23758528plm.379.2018.05.09.05.08.24; Wed, 09 May 2018 05:08:39 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ANxza0TO; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934660AbeEIMIL (ORCPT + 99 others); Wed, 9 May 2018 08:08:11 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:40063 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751052AbeEIMIK (ORCPT ); Wed, 9 May 2018 08:08:10 -0400 Received: by mail-qk0-f193.google.com with SMTP id h138so26506913qke.7; Wed, 09 May 2018 05:08:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=SeDRyFPglWVargQFIJytLkXiA4xZOI5Gcv4gB2wdpgk=; b=ANxza0TOGwyRGJruWyezMD6lsrHq3DQ2qKM+D13UqWvXZjNgXaN96GJkfzYDpNTtPl Ki5gcLHrKhRJmqRBi7i8CRgRP3WNgtuu6UU9JcwlXHV0QGoFLldp+RT9NSlwRQlLEOr1 qgaXuCCAEyCYymsXT2UwcSGzRRvmbS5qmhUiC7wpbk1gXaS+Jj7RJa9QeaKhce+IEbSX wj8XlWiG4em0FwFn+dvYQrG7UqBNlKoK0dtGZtM6F4MJQPm2R45TUPZ2hYVGPeHT1Tsq ud1TULu1tOMX9/2PwdUW9R0GFGPae1Aj2wb8vl0RxrkgGbdU5p/Js7JY9EpVgEFUjm2C N3Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=SeDRyFPglWVargQFIJytLkXiA4xZOI5Gcv4gB2wdpgk=; b=o5YQ8z0/XL+GsZAG4P3hhfGqBcAiwV7RSh74ZTyAYDibRK07YFnnZV2OTlGIGep5ky 6eKBBY8PA4AaokjpfXVyTewqm1UOR/mZsSsmuN4K2kyhKgDZltoKwcaD0L61BH1RjLie qTyzp5m/+jKnq0E4htpq9RewXaoMThBQNyvn7Fz5qkS2ZjL6VB626XbVF2P88Csd15Ea Xrf+SuHJ8n+Q+8ZW+Q9nFc0AeAQH6QmWeqaI61yCQqDPEK+ibXFl9D9jUDN0KETVi+fY 5I6+fRRMApjkYdFOpRGGzeV9uGzlgq+ZHrXhrEaR0xnmKj6g5kd3lGVs7XPKktPapVsV BmtQ== X-Gm-Message-State: ALQs6tDhOycRAfEF2I5oiDHsdkvkuIyYqHcS8OU7m4My29vg9TJnn26u HHD1apgNmQpvhApZ9NduSmE= X-Received: by 10.55.154.215 with SMTP id c206mr37252146qke.313.1525867689370; Wed, 09 May 2018 05:08:09 -0700 (PDT) Received: from osboxes (ool-44c0037e.dyn.optonline.net. [68.192.3.126]) by smtp.gmail.com with ESMTPSA id r194sm2750412qke.27.2018.05.09.05.08.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 May 2018 05:08:08 -0700 (PDT) Date: Wed, 9 May 2018 08:08:06 -0400 From: Vivek Unune To: Florian Fainelli Cc: hauke@hauke-m.de, zajec5@gmail.com, jonmason@broadcom.com, bcm-kernel-feedback-list@broadcom.com, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ARM: dts: BCM5301X: Make usb3 phy use mdio phy driver Message-ID: <20180509120806.7a37jpcqcby7ryku@osboxes> References: <20180315135647.48456-1-npcomplete13@gmail.com> <20180409223153.41893-1-npcomplete13@gmail.com> <68519de5-9a47-9cb5-064c-dc4703aaa508@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <68519de5-9a47-9cb5-064c-dc4703aaa508@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 18, 2018 at 03:31:17PM -0700, Florian Fainelli wrote: > On 04/09/2018 03:31 PM, Vivek Unune wrote: > > Currently, usb3 phy in bcm5301x.dtsi uses platform driver which > > requires register range "ccb-mii" <0x18003000 0x1000>. This range > > overlaps with mdio cmd and param registers (<0x18003000 0x8>). > > Essentially, the platform driver partly acts like a mdio bus > > driver, hence to use of this register range. > > > > In some Northstar devices like Linksys EA9500, secondary switch > > is connected via external mdio. The only way to access and > > configure the external switch is via mdio bus. When we enable the > > mdio bus in it's current state, the mdio bus and any child buses > > fail to register because of the register range overlap. > > > > On Northstar, the usb3 phy is connected at address 0x10 on the > > internal mdio bus. This change moves the usb3_phy node and makes > > it a child node of internal mdio bus. > > > > Thanks to Rafał Miłecki's commit af850e14a7ae > > ("phy: bcm-ns-usb3: add MDIO driver using proper bus layer") the > > same usb3 platform driver can now act as usb3 phy mdio driver. > > > > Tested on Linksys Panamera (EA9500) > > > > Signed-off-by: Vivek Unune > > --- > > v2: Disabled usb3_phy by default, then enabled in dts where > > necessary > > Rafal, Hauke, this looks good to me, can you review? Thanks > -- > Florian Rafał, Hauke, I'm sure you are super busy :) Just want to bring this to your attention. Thanks, Vivek