From patchwork Fri Nov 20 08:56:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 329144 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp1093708ejb; Fri, 20 Nov 2020 00:58:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyvW8cuiDFU2PjodBZnBV6MWh0wOjrjm4amKM9VoZqU66T6KqtriJfm5kWXkAgYKKJ6Hv72 X-Received: by 2002:a17:906:e285:: with SMTP id gg5mr32658388ejb.7.1605862734971; Fri, 20 Nov 2020 00:58:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605862734; cv=none; d=google.com; s=arc-20160816; b=tucTapwfTvxX8NmfEcc+Mp+rziFYRm3ZzAetnvzl4B3f0YPU9gsgi7Q85IFqLd2CbR vIEWs+3mP9OsTeqbSqRH1D8pMBg/Lq2lY+80O4yx7KXdVBBkI/CrjVTF8Okl9V/biXIH ova7LnMKSCkjoOQ8DVmt+5ZQu6uJuMuOJkyF2NxDNBjt8k0T+uxbKqdFI2LfbgnHy+2C 5WWfOTKBt+RZh1OSme0aZAxwY79UviDqlZpFTmbSnnaA6gDs+Atls+CET0xPULAUuetK VdpgE9/3QpMiEKCqp+P3G9aBA0nZlHlmDddyMpbYB33k0jXiP36Eh+Dac4P6SD2Ztfnp utWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=ZS+TcsDMTikioff1ofG/0NpYP6i9Gsc1IYmWXwJtzkY=; b=jiVrQgmHbHsdaBFjlkNuScQYC3QgrWHCQWcYKWdO9wNy4p4R0gwRr134sSLRDENUg8 wxq/u1hbebWdVSBiyRrmgcRt0uiY9KLHZFkqDJWEvZyPUnV8gXjqRDBOm3dzhtD5gIsq wwFAgRPEP9KBwACp7QHMt9wUZP44SMMoYAZSWY9T4jhkkIfcM3nG8pzSoMGYkRINp54z h+zDEx+hXxKMDZdkwDNYlGxBtTWziZ2Twnr4nQwglbruahktZ0FHRzIV5bgil1qx+Rvb h+NDnaLggID0m207z8YRiTM7UANKwgyfQzDB6RtrCH1kWABy+fc0X4l0u7NE+D/sVlXt 5pZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=KrCOI2hK; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df12si1418289edb.5.2020.11.20.00.58.54; Fri, 20 Nov 2020 00:58:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=KrCOI2hK; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726775AbgKTI5P (ORCPT + 4 others); Fri, 20 Nov 2020 03:57:15 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:44153 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727476AbgKTI5O (ORCPT ); Fri, 20 Nov 2020 03:57:14 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201120085702euoutp022cbaf083c899b3e4f99efa68529f88b0~JK4wI1_4y2877128771euoutp02H for ; Fri, 20 Nov 2020 08:57:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201120085702euoutp022cbaf083c899b3e4f99efa68529f88b0~JK4wI1_4y2877128771euoutp02H DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1605862622; bh=ZS+TcsDMTikioff1ofG/0NpYP6i9Gsc1IYmWXwJtzkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KrCOI2hKdSfdpahx5wH3w8b/iqO0hq2DXb2RkfSOF5v49EpTFsnjvIeIcTAykxapp iF0vQLQESFkTMjHLIbFnPf7qrkV5Wbt0NTjgS64WRKuIJKKOLrO76kCJGuvdyqJiqu 5dorM668DPw6VXJgkA+lcO2TEnUb5WMcTn2XPpeo= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201120085652eucas1p2b738064301085be407e528555b649ef1~JK4mgts1k0073800738eucas1p26; Fri, 20 Nov 2020 08:56:52 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 36.AA.44805.3D487BF5; Fri, 20 Nov 2020 08:56:52 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201120085651eucas1p1d30223968745e93e6177892b400a7773~JK4mEDe332817128171eucas1p1X; Fri, 20 Nov 2020 08:56:51 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201120085651eusmtrp2a14ed03a55a42adf4435777a0aec8098~JK4mDBuoL2124121241eusmtrp2U; Fri, 20 Nov 2020 08:56:51 +0000 (GMT) X-AuditID: cbfec7f4-b37ff7000000af05-5a-5fb784d38a15 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 40.3E.21957.3D487BF5; Fri, 20 Nov 2020 08:56:51 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201120085651eusmtip17a6b71fe12b45f00b76054cc711e7f09~JK4lh5eoK0135701357eusmtip1i; Fri, 20 Nov 2020 08:56:51 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Sylwester Nawrocki , Marek Szyprowski , Krzysztof Kozlowski , Vinod Koul , Kishon Vijay Abraham I , Bartlomiej Zolnierkiewicz , Willy Wolff , Marian Mihailescu Subject: [PATCH 1/2] phy: samsung: Add support for the Exynos5420 variant of the USB2 PHY Date: Fri, 20 Nov 2020 09:56:36 +0100 Message-Id: <20201120085637.7299-2-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201120085637.7299-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPIsWRmVeSWpSXmKPExsWy7djPc7pXWrbHGxz9x2qxccZ6VosLT3vY LM6f38BucXnXHDaLGef3MVmsPXKX3WL9tJ+sFofftLNa7Lxzgtni24lHjA5cHjtn3WX32LSq k82jb8sqRo/jN7YzeXzeJBfAGsVlk5Kak1mWWqRvl8CV8ev+acaC27oVO+YsYmpgvKbWxcjJ ISFgItH28itrFyMXh5DACkaJrt8LoZwvjBI/V3eyQDifGSVWrXzEBNPSvXMiM0RiOVBi4yUm uJZrN9YxglSxCRhKdL3tYgOxRQRUJT63LWAHsZkF/jNJ3NzACWILC0RL3Dr0B6yeBajm6sSZ YDW8AjYSVz5NYYHYJi+xesMBZhCbU8BWYsuky+wgyyQEVnJI/Pl8nxWiyEWi5c9zqAZhiVfH t7BD2DIS/3fOZ4JoaGaUeHhuLVR3D6PE5aYZjBBV1hJ3zv0COpUD6DxNifW79CHCjhJdPxtZ QMISAnwSN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vqFSfmFpfmpesl5+duYgSG9LZjPzfvYJz36qPeIUYm DsZDjBIczEoivGs1t8YL8aYkVlalFuXHF5XmpBYfYjQFumMis5Rocj4wqvJK4g3NDEwNTcws DUwtzYyVxHm3zl0TLySQnliSmp2aWpBaBNPHxMEp1cC0IcGOMU/2zLWKWyI25T/Tq9YpPl0R zx7/gX1y/8GptRtiVrBW87Pz6Ec+nnYo7orBrpS94U9zHskuSjt+PkRkx8H0Z9eeq6b0eJbP fhuibJ3aqlT0aqWpqLRRgWXU3wudUbwHe03jrpqKc8gxPrPZvzqI/9k+h/1G3jOnCCrdy5Gx jFCUTX3i0z03OX75OgNRBomi1G8uKmcjfu1/raTqy6rIy3K0PeVf19zcyze+sGsV7lhxOEv9 V4BgnCdHyGZWc+Gmj83lkZ8mtkkoGu24azf1T1DxnyumMyIKXzQJ+khwfvqkd15dxXGf7gfG uuTmSvWunOVnJC/fELdf8kzdcpVxxcYitsXa217zKbEUZyQaajEXFScCAJcaCYXyAgAA X-CMS-MailID: 20201120085651eucas1p1d30223968745e93e6177892b400a7773 X-Msg-Generator: CA X-RootMTR: 20201120085651eucas1p1d30223968745e93e6177892b400a7773 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201120085651eucas1p1d30223968745e93e6177892b400a7773 References: <20201120085637.7299-1-m.szyprowski@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Exynos5420 differs a bit from Exynos5250 in USB2 PHY related registers in the PMU region. Add a variant for the Exynos5420 case. Till now, USB2 PHY worked only because the bootloader enabled the PHY, but then driver messed USB 3.0 DRD related registers during the suspend/resume cycle. Signed-off-by: Marek Szyprowski --- .../devicetree/bindings/phy/samsung-phy.txt | 1 + drivers/phy/samsung/Kconfig | 7 ++- drivers/phy/samsung/phy-exynos5250-usb2.c | 48 +++++++++++++------ drivers/phy/samsung/phy-samsung-usb2.c | 6 +++ drivers/phy/samsung/phy-samsung-usb2.h | 1 + 5 files changed, 48 insertions(+), 15 deletions(-) -- 2.17.1 Acked-by: Krzysztof Kozlowski diff --git a/Documentation/devicetree/bindings/phy/samsung-phy.txt b/Documentation/devicetree/bindings/phy/samsung-phy.txt index 7510830a79bd..8f51aee91101 100644 --- a/Documentation/devicetree/bindings/phy/samsung-phy.txt +++ b/Documentation/devicetree/bindings/phy/samsung-phy.txt @@ -47,6 +47,7 @@ Required properties: - "samsung,exynos4210-usb2-phy" - "samsung,exynos4x12-usb2-phy" - "samsung,exynos5250-usb2-phy" + - "samsung,exynos5420-usb2-phy" - "samsung,s5pv210-usb2-phy" - reg : a list of registers used by phy driver - first and obligatory is the location of phy modules registers diff --git a/drivers/phy/samsung/Kconfig b/drivers/phy/samsung/Kconfig index e20d2fcc9fe7..0f51d3bf38cc 100644 --- a/drivers/phy/samsung/Kconfig +++ b/drivers/phy/samsung/Kconfig @@ -64,7 +64,12 @@ config PHY_EXYNOS4X12_USB2 config PHY_EXYNOS5250_USB2 bool depends on PHY_SAMSUNG_USB2 - default SOC_EXYNOS5250 || SOC_EXYNOS5420 + default SOC_EXYNOS5250 + +config PHY_EXYNOS5420_USB2 + bool + depends on PHY_SAMSUNG_USB2 + default SOC_EXYNOS5420 config PHY_S5PV210_USB2 bool "Support for S5PV210" diff --git a/drivers/phy/samsung/phy-exynos5250-usb2.c b/drivers/phy/samsung/phy-exynos5250-usb2.c index 4f53b711fd6f..e198010e1bfd 100644 --- a/drivers/phy/samsung/phy-exynos5250-usb2.c +++ b/drivers/phy/samsung/phy-exynos5250-usb2.c @@ -117,9 +117,9 @@ /* Isolation, configured in the power management unit */ #define EXYNOS_5250_USB_ISOL_OTG_OFFSET 0x704 -#define EXYNOS_5250_USB_ISOL_OTG BIT(0) #define EXYNOS_5250_USB_ISOL_HOST_OFFSET 0x708 -#define EXYNOS_5250_USB_ISOL_HOST BIT(0) +#define EXYNOS_5420_USB_ISOL_HOST_OFFSET 0x70C +#define EXYNOS_5250_USB_ISOL_ENABLE BIT(0) /* Mode swtich register */ #define EXYNOS_5250_MODE_SWITCH_OFFSET 0x230 @@ -132,7 +132,6 @@ enum exynos4x12_phy_id { EXYNOS5250_HOST, EXYNOS5250_HSIC0, EXYNOS5250_HSIC1, - EXYNOS5250_NUM_PHYS, }; /* @@ -176,20 +175,19 @@ static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on) { struct samsung_usb2_phy_driver *drv = inst->drv; u32 offset; - u32 mask; + u32 mask = EXYNOS_5250_USB_ISOL_ENABLE; - switch (inst->cfg->id) { - case EXYNOS5250_DEVICE: + if (drv->cfg == &exynos5250_usb2_phy_config && + inst->cfg->id == EXYNOS5250_DEVICE) offset = EXYNOS_5250_USB_ISOL_OTG_OFFSET; - mask = EXYNOS_5250_USB_ISOL_OTG; - break; - case EXYNOS5250_HOST: + else if (drv->cfg == &exynos5250_usb2_phy_config && + inst->cfg->id == EXYNOS5250_HOST) offset = EXYNOS_5250_USB_ISOL_HOST_OFFSET; - mask = EXYNOS_5250_USB_ISOL_HOST; - break; - default: + else if (drv->cfg == &exynos5420_usb2_phy_config && + inst->cfg->id == EXYNOS5250_HOST) + offset = EXYNOS_5420_USB_ISOL_HOST_OFFSET; + else return; - } regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask); } @@ -390,9 +388,31 @@ static const struct samsung_usb2_common_phy exynos5250_phys[] = { }, }; +static const struct samsung_usb2_common_phy exynos5420_phys[] = { + { + .label = "host", + .id = EXYNOS5250_HOST, + .power_on = exynos5250_power_on, + .power_off = exynos5250_power_off, + }, + { + .label = "hsic", + .id = EXYNOS5250_HSIC0, + .power_on = exynos5250_power_on, + .power_off = exynos5250_power_off, + }, +}; + const struct samsung_usb2_phy_config exynos5250_usb2_phy_config = { .has_mode_switch = 1, - .num_phys = EXYNOS5250_NUM_PHYS, + .num_phys = ARRAY_SIZE(exynos5250_phys), .phys = exynos5250_phys, .rate_to_clk = exynos5250_rate_to_clk, }; + +const struct samsung_usb2_phy_config exynos5420_usb2_phy_config = { + .has_mode_switch = 1, + .num_phys = ARRAY_SIZE(exynos5420_phys), + .phys = exynos5420_phys, + .rate_to_clk = exynos5250_rate_to_clk, +}; diff --git a/drivers/phy/samsung/phy-samsung-usb2.c b/drivers/phy/samsung/phy-samsung-usb2.c index f79f605cff79..3908153f2ce5 100644 --- a/drivers/phy/samsung/phy-samsung-usb2.c +++ b/drivers/phy/samsung/phy-samsung-usb2.c @@ -128,6 +128,12 @@ static const struct of_device_id samsung_usb2_phy_of_match[] = { .data = &exynos5250_usb2_phy_config, }, #endif +#ifdef CONFIG_PHY_EXYNOS5420_USB2 + { + .compatible = "samsung,exynos5420-usb2-phy", + .data = &exynos5420_usb2_phy_config, + }, +#endif #ifdef CONFIG_PHY_S5PV210_USB2 { .compatible = "samsung,s5pv210-usb2-phy", diff --git a/drivers/phy/samsung/phy-samsung-usb2.h b/drivers/phy/samsung/phy-samsung-usb2.h index 77fb23bc218f..ebaf43bfc5a2 100644 --- a/drivers/phy/samsung/phy-samsung-usb2.h +++ b/drivers/phy/samsung/phy-samsung-usb2.h @@ -66,5 +66,6 @@ extern const struct samsung_usb2_phy_config exynos3250_usb2_phy_config; extern const struct samsung_usb2_phy_config exynos4210_usb2_phy_config; extern const struct samsung_usb2_phy_config exynos4x12_usb2_phy_config; extern const struct samsung_usb2_phy_config exynos5250_usb2_phy_config; +extern const struct samsung_usb2_phy_config exynos5420_usb2_phy_config; extern const struct samsung_usb2_phy_config s5pv210_usb2_phy_config; #endif From patchwork Fri Nov 20 08:56:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 329145 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp1093710ejb; Fri, 20 Nov 2020 00:58:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+s4xTsxfTAjTPCVEQckw8WFYIZb1wuGR4o3jKpMb1xZ+JNJIhSF+DjKjy84P3RFzZ0TLh X-Received: by 2002:a50:eb0a:: with SMTP id y10mr36267857edp.342.1605862735400; Fri, 20 Nov 2020 00:58:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605862735; cv=none; d=google.com; s=arc-20160816; b=idOJH4NBQGhMs46xzmLJLQz3FD0eb8espPXBg9gIXoUiSEqik832hflwDOhyUohfeZ cDQp2UQavHCKTePG3w/Uq5jTiikdcyYPlVQ1G+IQAZL3MbjqPQGt2qQB953ZEUdn0SSq pOlBdo9p+/fovLfLL2K2J4W5IzbeVovjDdM02KCNVfMBNR6CnKstHUomu+GYvKbD5cYC GnEGoYxqqozliuPpEGVSGidvDVFyx5CCQeyvcFhAXT8EV/4nEaIKeciG3nZLL9+P9lo1 2PD64pDY0h+52LBhpjxYmPbcysa2oOLT6t2A+LUXHnNnxP+5wTQvDNcWoiKtMytJa1EF xeAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=C9Yy36CRzv0kPeDDkHKP+m55/CV/ES66S5cLSnbEMJQ=; b=F8kTTqsJ8Dvoe0HjGAhdIILI049W//XljpNsmC+3poL/tpqe0JKVxkvnzAR0OqkMJh RcvQeB8MLm8BasC2czi71rsQO7TJ4VQ49f/cOnwKnTa+BeuSDvCsow0sKEBvz2aUkGjz cYvwKCNrzjBExrXbmd2B9PhfGX64UC1kJ01AkEnriB53T2SiqFjA9Gtx/dM5iFJ0h6Pc T/veCcFe0kfKNfgabzm9bl1bYaC9vXxi50Tr+iUzHpxEK5uE38ll1w/NYKkndukhQ4+/ yJ3c/BMSnp0nVJbL1tamCkMHBLHVpKJY00NLpeCCJOzgPUSdfWYo8vnMJRGIWmLsj/Dt v63g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GMCpYuVV; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df12si1418289edb.5.2020.11.20.00.58.55; Fri, 20 Nov 2020 00:58:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GMCpYuVV; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727479AbgKTI5Q (ORCPT + 4 others); Fri, 20 Nov 2020 03:57:16 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:38310 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727205AbgKTI5M (ORCPT ); Fri, 20 Nov 2020 03:57:12 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20201120085701euoutp011bb117c8473bb73b94de4335d16da3a8~JK4uyueOR2603226032euoutp01i for ; Fri, 20 Nov 2020 08:57:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201120085701euoutp011bb117c8473bb73b94de4335d16da3a8~JK4uyueOR2603226032euoutp01i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1605862621; bh=C9Yy36CRzv0kPeDDkHKP+m55/CV/ES66S5cLSnbEMJQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GMCpYuVVHUwSxc30z7cpTM618fIZJ+eQpA3hgzPnLjPpIQopmL2MbGo/N/0UDOGzf +EZCpdm5k/xIhAIVSzJZXNjqpIMvdvBeUxCNnV9wALlyzSooUQCQIL5Mksaoab0a3F Jw3I87QpCm7FVMgR/pHLNMLvvefjYzoWkATBkqVE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201120085652eucas1p1c5eea8ac6ced4e689ad707589e192862~JK4nMCk8b2683026830eucas1p1G; Fri, 20 Nov 2020 08:56:52 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 85.7B.27958.4D487BF5; Fri, 20 Nov 2020 08:56:52 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20201120085652eucas1p1da360ab03f5b5b02a197d0f1ee435737~JK4mev1HU0943709437eucas1p1y; Fri, 20 Nov 2020 08:56:52 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201120085652eusmtrp262cbbfecce3e8c0c14e9d047037ae1ff~JK4meChe62026420264eusmtrp2d; Fri, 20 Nov 2020 08:56:52 +0000 (GMT) X-AuditID: cbfec7f2-f15ff70000006d36-af-5fb784d4e75b Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 11.3E.21957.4D487BF5; Fri, 20 Nov 2020 08:56:52 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201120085651eusmtip159e3b8b71081a0d4f50aa65469b5099e~JK4l-Qbkr0452604526eusmtip1D; Fri, 20 Nov 2020 08:56:51 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Sylwester Nawrocki , Marek Szyprowski , Krzysztof Kozlowski , Vinod Koul , Kishon Vijay Abraham I , Bartlomiej Zolnierkiewicz , Willy Wolff , Marian Mihailescu Subject: [PATCH 2/2] ARM: dts: exynos: use Exynos5420 dedicated USB2 PHY compatible Date: Fri, 20 Nov 2020 09:56:37 +0100 Message-Id: <20201120085637.7299-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201120085637.7299-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHIsWRmVeSWpSXmKPExsWy7djPc7pXWrbHG/R1mltsnLGe1eLC0x42 i/PnN7BbXN41h81ixvl9TBZrj9xlt1g/7SerxeE37awWO++cYLb4duIRowOXx85Zd9k9Nq3q ZPPo27KK0eP4je1MHp83yQWwRnHZpKTmZJalFunbJXBlvFuyjKlgCWfF1d13mRoYt7B3MXJy SAiYSJxZdATI5uIQEljBKDGpfQkzhPOFUeLTj8NMEM5nRomLbz8wwrTcevCdFSKxnFHi+8TL THAt8y7MYQWpYhMwlOh628UGYosIqEp8blsAtpBZ4D+TxM0NnCC2sECoxI91+5lBbBagmrMT PwFt4ODgFbCRWP8+B2KZvMTqDQfASjgFbCW2TLoMdquEwBYOic2zdrNBFLlIfHp9FsoWlnh1 HOY5GYn/O+czQTQ0M0o8PLcWqruHUeJy0wyof6wl7pz7xQaymVlAU2L9Ln2IsKPEy/erWEDC EgJ8EjfeCkLczycxadt0Zogwr0RHmxBEtZrErOPr4NYevHCJGcL2kFjc9QIapBMYJf63nmCd wCg/C2HZAkbGVYziqaXFuempxYZ5qeV6xYm5xaV56XrJ+bmbGIFJ5PS/4592MM599VHvECMT B+MhRgkOZiUR3rWaW+OFeFMSK6tSi/Lji0pzUosPMUpzsCiJ866avSZeSCA9sSQ1OzW1ILUI JsvEwSnVwBTH5c0nGiuy+5156PL7RzR//S0zDz91uUSC58u9w+Xns3lOfZuq83rm7qnX9+kt F1s/+aea1hK2hR80Re1aNU5Pnv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8hUbMtwXuR9zNeT6+z7xzfdm f3XOs7/AtmJ5wnHhzgdf55q9/dv5lfOv9NJUxuf2d6Yw1rzerL4tU3n9Of8FDR1hCWsf7rt9 WekM//onlVMv7bXXEOj88+9oG8vr59323n4FB/mYW5aUrnCdI5WpwhT4IeTA1OWKsSU/OtM4 N/EYiaxI//Kyld+k0+a769wFTxkE5fidVpSnzHv/5L2E2QwlluKMREMt5qLiRAC5qMla8QIA AA== X-CMS-MailID: 20201120085652eucas1p1da360ab03f5b5b02a197d0f1ee435737 X-Msg-Generator: CA X-RootMTR: 20201120085652eucas1p1da360ab03f5b5b02a197d0f1ee435737 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201120085652eucas1p1da360ab03f5b5b02a197d0f1ee435737 References: <20201120085637.7299-1-m.szyprowski@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org USB2.0 PHY in Exynos5420 differs from Exynos5250 variant a bit, so use the recently introduced dedicated compatible for Exynos5420. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos54xx.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.17.1 diff --git a/arch/arm/boot/dts/exynos54xx.dtsi b/arch/arm/boot/dts/exynos54xx.dtsi index fe9d34c23374..2ddb7a5f12b3 100644 --- a/arch/arm/boot/dts/exynos54xx.dtsi +++ b/arch/arm/boot/dts/exynos54xx.dtsi @@ -188,7 +188,7 @@ compatible = "samsung,exynos4210-ehci"; reg = <0x12110000 0x100>; interrupts = ; - phys = <&usb2_phy 1>; + phys = <&usb2_phy 0>; phy-names = "host"; }; @@ -196,12 +196,12 @@ compatible = "samsung,exynos4210-ohci"; reg = <0x12120000 0x100>; interrupts = ; - phys = <&usb2_phy 1>; + phys = <&usb2_phy 0>; phy-names = "host"; }; usb2_phy: phy@12130000 { - compatible = "samsung,exynos5250-usb2-phy"; + compatible = "samsung,exynos5420-usb2-phy"; reg = <0x12130000 0x100>; #phy-cells = <1>; };