Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752094AbdHHIbA (ORCPT ); Tue, 8 Aug 2017 04:31:00 -0400 Received: from mail-db5eur01on0082.outbound.protection.outlook.com ([104.47.2.82]:3849 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751983AbdHHIa6 (ORCPT ); Tue, 8 Aug 2017 04:30:58 -0400 From: Prabhakar Kushwaha To: Yinbo Zhu , "u-boot@lists.denx.de" CC: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Mihai Emilian Bantea , =?utf-8?B?SG9yaWEgR2VhbnTEgw==?= , Marc Zyngier , Gang Liu , open list , Scott Wood , "Rajat Srivastava" , Yinbo Zhu , "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" Subject: RE: [U-Boot] [PATCH] config: ls1012aqds: Add USB EHCI support for ls1012aqds Thread-Topic: [U-Boot] [PATCH] config: ls1012aqds: Add USB EHCI support for ls1012aqds Thread-Index: AQHTBr//T3K23MOWp06CcPpWvJhsiqJ6M5GA Date: Tue, 8 Aug 2017 08:30:49 +0000 Message-ID: References: <1501148945-11775-1-git-send-email-yinbo.zhu@nxp.com> In-Reply-To: <1501148945-11775-1-git-send-email-yinbo.zhu@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=prabhakar.kushwaha@nxp.com; x-originating-ip: [192.88.169.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1PR04MB1258;6:Gfq6oZXabqy9gLo1huFz3JEkFfGqskiVr4w7QtM3ncBMfnYVGJXaT9zYG57pPwy9uUjBA3A1eaHK5jpHFIBf4SZAqkXvRD7QnbJBqNOiAN1LyY4iU3TdF9YLWWo5GRxn/FtA+ZLCknGrDWLOz4kjDx3Tf6s75U51m10XGzX5iSZCs5zcx/yI8BV6SBbnuXFo7v/8XLl67xvVzn4jaI6TZk7zeyULPe7ECmVg8ny6oogdgDzM/pRSqLHTlcHgbKWJD63UB89CWzngiomCH+5cejEHQrQiocdnewg+A+XTjTcOIRohteW8hbYy4lLSMAKzi3PaCTGUI4Q7jP127pif0Q==;5:PVph42Z6iLNbs159kkTwV7IOZj0QkCwLGTuRgPHxedPBWOLiJa2KQ9I0FiwAA8M8R3ON7FcKHGkoKiga8y4fdW20RH+OQ+yhZlITPDZfGDz/GNUTbx53SUiZe3H4LzH/Q7+ZksxmY2ZsqZHJrTUh8w==;24:W+WPNRWVx+jit1HYsn3XubnJZq+E9Z0Mwfo3uNVbltOoO5BImxWEeOMg4s93zOl6hcS3wNDhRlN7curJrLYb8j/qcL/JRcbmNn/cs/LzKdg=;7:IWA9r0QA6ZoB5OQZQrtdLSPXe6SrN4pS3+Y34ldeE4d8DhwjMM+K0ZssnGtB1VPLmLlNUYTfrVNS7EZdqumMiYvphLMTLhMWcj6xyWLDaAtRKQryy6fy7lZZdLM9V93Pdt31OKdQEp9uozByS9xgjuDzXFdwo2/6Nu++/n2039l+QkATykE4ZjbF3s1gHrRsI1jiwakqyuZhycX6CKKrPXPg7bt+sNdYHeJWaH7BBGQ= x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39860400002)(39400400002)(39840400002)(39850400002)(39410400002)(189002)(377454003)(199003)(13464003)(6506006)(305945005)(101416001)(4326008)(106356001)(3280700002)(189998001)(2501003)(2906002)(6436002)(229853002)(478600001)(5250100002)(66066001)(97736004)(74316002)(5660300001)(25786009)(50986999)(86362001)(68736007)(3846002)(7696004)(2950100002)(7736002)(102836003)(6116002)(14454004)(8936002)(99286003)(55016002)(54906002)(9686003)(6246003)(38730400002)(105586002)(53546010)(76176999)(54356999)(53936002)(2900100001)(81166006)(81156014)(3660700001)(33656002)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:HE1PR04MB1258;H:HE1PR04MB1241.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: 7d33602e-3f71-4ce0-d7e4-08d4de37c65c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:HE1PR04MB1258; x-ms-traffictypediagnostic: HE1PR04MB1258: x-exchange-antispam-report-test: UriScan:(180628864354917)(9452136761055)(185117386973197)(258649278758335)(16074681357397); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123558100)(20161123560025)(20161123564025)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:HE1PR04MB1258;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:HE1PR04MB1258; x-forefront-prvs: 03932714EB spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2017 08:30:49.6435 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR04MB1258 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id v788V72I011747 Content-Length: 2981 Lines: 77 > -----Original Message----- > From: U-Boot [mailto:u-boot-bounces@lists.denx.de] On Behalf Of > yinbo.zhu@nxp.com > Sent: Thursday, July 27, 2017 3:19 PM > To: u-boot@lists.denx.de > Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > ; Mihai Emilian Bantea ; > Horia Geantă ; Marc Zyngier > ; Gang Liu ; open list kernel@vger.kernel.org>; Scott Wood ; Rajat Srivastava > ; Yinbo Zhu ; moderated > list:ARM64 PORT (AARCH64 ARCHITECTURE) kernel@lists.infradead.org> > Subject: [U-Boot] [PATCH] config: ls1012aqds: Add USB EHCI support for > ls1012aqds > > From: Rajesh Bhagat > > Add USB EHCI support for ls1012aqds platform > > Signed-off-by: Rajat Srivastava > Signed-off-by: Rajesh Bhagat > Signed-off-by: yinbo.zhu > --- > arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 1 + > include/configs/ls1012aqds.h | 2 ++ > include/usb/ehci-ci.h | 2 +- > 3 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h > b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h > index 8ad199f..4afc338 100644 > --- a/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h > +++ b/arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h > @@ -35,6 +35,7 @@ > #define CONFIG_SYS_XHCI_USB1_ADDR (CONFIG_SYS_IMMR + > 0x01f00000) > #define CONFIG_SYS_XHCI_USB2_ADDR (CONFIG_SYS_IMMR + > 0x02000000) > #define CONFIG_SYS_XHCI_USB3_ADDR (CONFIG_SYS_IMMR + > 0x02100000) > +#define CONFIG_SYS_EHCI_USB1_ADDR (CONFIG_SYS_IMMR + > 0x07600000) > #define CONFIG_SYS_PCIE1_ADDR (CONFIG_SYS_IMMR + > 0x2400000) > #define CONFIG_SYS_PCIE2_ADDR (CONFIG_SYS_IMMR + > 0x2500000) > #define CONFIG_SYS_PCIE3_ADDR (CONFIG_SYS_IMMR + > 0x2600000) > diff --git a/include/configs/ls1012aqds.h b/include/configs/ls1012aqds.h > index 5b8500b..55f2578 100644 > --- a/include/configs/ls1012aqds.h > +++ b/include/configs/ls1012aqds.h > @@ -115,6 +115,8 @@ > > #ifdef CONFIG_HAS_FSL_DR_USB > #define CONFIG_USB_EHCI_FSL > +#define CONFIG_USB_ULPI > +#define CONFIG_USB_ULPI_VIEWPORT > #define CONFIG_EHCI_HCD_INIT_AFTER_RESET > #endif > > diff --git a/include/usb/ehci-ci.h b/include/usb/ehci-ci.h > index 847b698..cd3eb47 100644 > --- a/include/usb/ehci-ci.h > +++ b/include/usb/ehci-ci.h > @@ -156,7 +156,7 @@ > #elif defined(CONFIG_MPC85xx) > #define CONFIG_SYS_FSL_USB1_ADDR CONFIG_SYS_MPC85xx_USB1_ADDR > #define CONFIG_SYS_FSL_USB2_ADDR CONFIG_SYS_MPC85xx_USB2_ADDR > -#elif defined(CONFIG_ARCH_LS1021A) > +#elif defined(CONFIG_LS102XA) || defined(CONFIG_ARCH_LS1012A) Why CONFIG_ARCH_LS1021A has been replaced by CONFIG_LS102XA? -prabhakar