From patchwork Fri Dec 20 06:53:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 11304885 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 44AFE14F6 for ; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D521824693 for ; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="S4jZ/mwI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D521824693 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1044+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id rutsYY1556264xPYZEz2vAVt; Thu, 19 Dec 2019 22:53:22 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web12.6011.1576824801596144847 for ; Thu, 19 Dec 2019 22:53:21 -0800 X-Received: by mail.kernel.org (Postfix) id 1E74124686; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) X-Received: from shell.v3.sk (unknown [167.172.186.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA3D324682; Fri, 20 Dec 2019 06:53:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA3D324682 X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id EE77ADFC83; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id pFjqLmi7cQos; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 1B525DFC9F; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1fRNT519OY_W; Fri, 20 Dec 2019 06:53:20 +0000 (UTC) X-Received: from furthur.lan (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 7E02CDFC5E; Fri, 20 Dec 2019 06:53:20 +0000 (UTC) From: Lubomir Rintel To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, soc@kernel.org, Lubomir Rintel Subject: [PATCH 1/5] dt-bindings: marvell,mmp2: Add clock ids for the HSIC clocks Date: Fri, 20 Dec 2019 07:53:10 +0100 Message-Id: <20191220065314.237624-2-lkundrak@v3.sk> In-Reply-To: <20191220065314.237624-1-lkundrak@v3.sk> References: <20191220065314.237624-1-lkundrak@v3.sk> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org X-Gm-Message-State: iml0gCsgfgfr4AVzcYkYNNMxx1554929AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1576824802; bh=nu8CtmimDZ34JqQGlrPTZEgu77EE45GHJQ/2tqCVupk=; h=Cc:Date:From:Reply-To:Subject:To; b=S4jZ/mwIYqqDwxAvvfIuDWo8gaV8+Ok1/4qvvnvyf9ZasjvzlFhvvwKnEYzeE1GRMHx fH3zE2eRHFXs4Bgu4ay9C83u2F+To38czwFRt+pXSBHLRfguE+g2A9Xg9elrD54tOBH1p cviFHiCELP6Am3ScBADbFuA6WgS4pEsmoUg= There are two USB HSIC controllers on MMP2 and MMP3. Signed-off-by: Lubomir Rintel Acked-by: Stephen Boyd --- include/dt-bindings/clock/marvell,mmp2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/clock/marvell,mmp2.h b/include/dt-bindings/clock/marvell,mmp2.h index e785c6eb35613..4b1a7724f20d7 100644 --- a/include/dt-bindings/clock/marvell,mmp2.h +++ b/include/dt-bindings/clock/marvell,mmp2.h @@ -72,6 +72,8 @@ #define MMP2_CLK_CCIC1_PHY 118 #define MMP2_CLK_CCIC1_SPHY 119 #define MMP2_CLK_DISP0_LCDC 120 +#define MMP2_CLK_USBHSIC0 121 +#define MMP2_CLK_USBHSIC1 122 #define MMP2_NR_CLKS 200 #endif From patchwork Fri Dec 20 06:53:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 11304893 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5203314F6 for ; Fri, 20 Dec 2019 06:53:24 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2B8EC2468B for ; Fri, 20 Dec 2019 06:53:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="UXWkh71W" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B8EC2468B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1047+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id MU8cYY1556264xUUtheCy9Eg; Thu, 19 Dec 2019 22:53:23 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web10.6182.1576824803315756000 for ; Thu, 19 Dec 2019 22:53:23 -0800 X-Received: by mail.kernel.org (Postfix) id 23DF724688; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) X-Received: from shell.v3.sk (unknown [167.172.186.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E413C24694; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E413C24694 X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 31452DFCA5; Fri, 20 Dec 2019 06:53:25 +0000 (UTC) X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tBGc8MQ6OD2E; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id AA2A7DFC8A; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id IPJ8qCcemK7I; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) X-Received: from furthur.lan (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id ED3F2DFC82; Fri, 20 Dec 2019 06:53:20 +0000 (UTC) From: Lubomir Rintel To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, soc@kernel.org, Lubomir Rintel Subject: [PATCH 2/5] clk: mmp2: Add HSIC clocks Date: Fri, 20 Dec 2019 07:53:11 +0100 Message-Id: <20191220065314.237624-3-lkundrak@v3.sk> In-Reply-To: <20191220065314.237624-1-lkundrak@v3.sk> References: <20191220065314.237624-1-lkundrak@v3.sk> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org X-Gm-Message-State: G2WE0KPtxczwBeU4AketA4dGx1554929AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1576824803; bh=e6jhuh49k8Td+U/wJBnL9P5PS+66Y2Ak3IUHa/A0XNI=; h=Cc:Date:From:Reply-To:Subject:To; b=UXWkh71WNXHEE/12ZgdnXwrHQeOmCA4lwrYFpbLN7PCPMgc+B7rITpRT9Y+EvzebBp3 nxGwDhIOtDEuNh9kgBzC4RUOazYpbxVzxc3JnAqYTEqSXDmNdLDjbFt1FW8VQRaINM2iH QOCc4aYQORzkChBHw7rEFZE4RJX2WI/7BwE= There are two USB HSIC controllers on MMP2 and MMP3. Signed-off-by: Lubomir Rintel Acked-by: Stephen Boyd --- drivers/clk/mmp/clk-of-mmp2.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/mmp/clk-of-mmp2.c b/drivers/clk/mmp/clk-of-mmp2.c index a60a1be937ad6..05834953e1fd3 100644 --- a/drivers/clk/mmp/clk-of-mmp2.c +++ b/drivers/clk/mmp/clk-of-mmp2.c @@ -53,6 +53,8 @@ #define APMU_DISP1 0x110 #define APMU_CCIC0 0x50 #define APMU_CCIC1 0xf4 +#define APMU_USBHSIC0 0xf8 +#define APMU_USBHSIC1 0xfc #define MPMU_UART_PLL 0x14 struct mmp2_clk_unit { @@ -194,6 +196,8 @@ static struct mmp_clk_mix_config sdh_mix_config = { }; static DEFINE_SPINLOCK(usb_lock); +static DEFINE_SPINLOCK(usbhsic0_lock); +static DEFINE_SPINLOCK(usbhsic1_lock); static DEFINE_SPINLOCK(disp0_lock); static DEFINE_SPINLOCK(disp1_lock); @@ -224,6 +228,8 @@ static struct mmp_param_div_clk apmu_div_clks[] = { static struct mmp_param_gate_clk apmu_gate_clks[] = { {MMP2_CLK_USB, "usb_clk", "usb_pll", 0, APMU_USB, 0x9, 0x9, 0x0, 0, &usb_lock}, + {MMP2_CLK_USBHSIC0, "usbhsic0_clk", "usb_pll", 0, APMU_USBHSIC0, 0x1b, 0x1b, 0x0, 0, &usbhsic0_lock}, + {MMP2_CLK_USBHSIC1, "usbhsic1_clk", "usb_pll", 0, APMU_USBHSIC1, 0x1b, 0x1b, 0x0, 0, &usbhsic1_lock}, /* The gate clocks has mux parent. */ {MMP2_CLK_SDH0, "sdh0_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH0, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, {MMP2_CLK_SDH1, "sdh1_clk", "sdh_mix_clk", CLK_SET_RATE_PARENT, APMU_SDH1, 0x1b, 0x1b, 0x0, 0, &sdh_lock}, From patchwork Fri Dec 20 06:53:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 11304889 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9F6611921 for ; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 76B7B2468B for ; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="Atmz7qvn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76B7B2468B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1046+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id QnH8YY1556264xAO3A8p2kvP; Thu, 19 Dec 2019 22:53:23 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web10.6181.1576824802843352532 for ; Thu, 19 Dec 2019 22:53:22 -0800 X-Received: by mail.kernel.org (Postfix) id A12FB24683; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Received: from shell.v3.sk (unknown [167.172.186.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6CC4A24685; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6CC4A24685 X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id A823ADFC5E; Fri, 20 Dec 2019 06:53:24 +0000 (UTC) X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ZmMWJCslQbtS; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 77D76DFCA5; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id JWHcIwLs_Dk3; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) X-Received: from furthur.lan (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 6140EDFC5E; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) From: Lubomir Rintel To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, soc@kernel.org, Lubomir Rintel Subject: [PATCH 3/5] dt-bindings: phy: Add binding for marvell,mmp3-hsic-phy Date: Fri, 20 Dec 2019 07:53:12 +0100 Message-Id: <20191220065314.237624-4-lkundrak@v3.sk> In-Reply-To: <20191220065314.237624-1-lkundrak@v3.sk> References: <20191220065314.237624-1-lkundrak@v3.sk> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org X-Gm-Message-State: sAvX5gMFDHJmhV82XrZLbQVXx1554929AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1576824803; bh=hG0QFxw1pET8XX4gkgOV7E0py7x1r4BYsBbTOQUBO+8=; h=Cc:Date:From:Reply-To:Subject:To; b=Atmz7qvn2hHRNPmifN/lVDEqZQ1Zc/PqnKgyTc5p16e8hswRPcRBk3gLn8sYadvFHkX LCOlsrO5LVFfcPsvc/EteT4OYWTBzyiCj9T6TT4DV/9vCPWEncIBvww9hgDSQQxmQ3mOm 6LvIfUygLWQmkEkXkiaNRlwNzSFh3c9JWJo= This is the PHY chip for USB HSIC on MMP3 platform. Signed-off-by: Lubomir Rintel --- .../bindings/phy/marvell,mmp3-hsic-phy.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml b/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml new file mode 100644 index 0000000000000..7917a95cda78d --- /dev/null +++ b/Documentation/devicetree/bindings/phy/marvell,mmp3-hsic-phy.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# Copyright 2019 Lubomir Rintel +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/marvell,mmp3-hsic-phy.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Marvell MMP3 HSIC PHY + +maintainers: + - Lubomir Rintel + +properties: + compatible: + const: marvell,mmp3-hsic-phy + + reg: + maxItems: 1 + description: base address of the device + + reset-gpios: + maxItems: 1 + description: GPIO connected to reset + + "#phy-cells": + const: 0 + +required: + - compatible + - reg + - reset-gpios + - "#phy-cells" + +examples: + - | + hsic-phy@f0001800 { + compatible = "marvell,mmp3-hsic-phy"; + reg = <0xf0001800 0x40>; + reset-gpios = <&gpio 63 GPIO_ACTIVE_HIGH>; + #phy-cells = <0>; + }; From patchwork Fri Dec 20 06:53:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 11304887 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9D4171892 for ; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 76AB724685 for ; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="LgB89Pfd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 76AB724685 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1045+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id l1PeYY1556264xedAOGgQvgE; Thu, 19 Dec 2019 22:53:23 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web11.5980.1576824802686248247 for ; Thu, 19 Dec 2019 22:53:22 -0800 X-Received: by mail.kernel.org (Postfix) id 79C4724687; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Received: from shell.v3.sk (unknown [167.172.186.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46E132465E; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 46E132465E X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 6B417DFC76; Fri, 20 Dec 2019 06:53:24 +0000 (UTC) X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id BUYhCElFSDFC; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id B51E1DFC5E; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rSDtHG59z_Kv; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Received: from furthur.lan (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id C846ADFCA3; Fri, 20 Dec 2019 06:53:21 +0000 (UTC) From: Lubomir Rintel To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, soc@kernel.org, Lubomir Rintel Subject: [PATCH 4/5] ARM: dts: mmp3: Add HSIC controllers Date: Fri, 20 Dec 2019 07:53:13 +0100 Message-Id: <20191220065314.237624-5-lkundrak@v3.sk> In-Reply-To: <20191220065314.237624-1-lkundrak@v3.sk> References: <20191220065314.237624-1-lkundrak@v3.sk> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org X-Gm-Message-State: NJ5cna7a0qF8KJvZNVusalO5x1554929AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1576824803; bh=xtwxF/gIoFywel7mQrKBX8PbNerGqrGKmmcmOIU4ZyQ=; h=Cc:Date:From:Reply-To:Subject:To; b=LgB89Pfd6wMBbHzoRtZL7RJvyrBhe+GJDgREOqLDipWT3JI56i37OjIHEnF7lPH1Qdl xB3zkflixKZoZEAi5mfeorBi6irkWNVmylwmpomDkGspzjQBF5q5N/41joIk3Xi9BxtS5 CvXVixOcJg0lZRMSplZQ3i8EI/Pr/icGBAY= There are two on MMP3, along with the PHYs. The PHYs are made compatible with the NOP transceiver, since there's no driver for the time being and they're likely configured by the firmware. Signed-off-by: Lubomir Rintel Reported-by: kbuild test robot Signed-off-by: Olof Johansson --- arch/arm/boot/dts/mmp3.dtsi | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm/boot/dts/mmp3.dtsi b/arch/arm/boot/dts/mmp3.dtsi index d9762de0ed34b..36c50706e60e0 100644 --- a/arch/arm/boot/dts/mmp3.dtsi +++ b/arch/arm/boot/dts/mmp3.dtsi @@ -201,6 +201,50 @@ usb_otg0: usb-otg@d4208000 { status = "disabled"; }; + hsic_phy0: hsic-phy@f0001800 { + compatible = "marvell,mmp3-hsic-phy", + "usb-nop-xceiv", + reg = <0xf0001800 0x40>; + #phy-cells = <0>; + status = "disabled"; + }; + + hsic0: hsic@f0001000 { + compatible = "marvell,pxau2o-ehci"; + reg = <0xf0001000 0x200>; + interrupts = ; + clocks = <&soc_clocks MMP2_CLK_USBHSIC0>; + clock-names = "USBCLK"; + phys = <&hsic_phy0>; + phy-names = "usb"; + phy_type = "hsic"; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + + hsic_phy1: hsic-phy@f0002800 { + compatible = "marvell,mmp3-hsic-phy", + "usb-nop-xceiv", + reg = <0xf0002800 0x40>; + #phy-cells = <0>; + status = "disabled"; + }; + + hsic1: hsic@f0002000 { + compatible = "marvell,pxau2o-ehci"; + reg = <0xf0002000 0x200>; + interrupts = ; + clocks = <&soc_clocks MMP2_CLK_USBHSIC1>; + clock-names = "USBCLK"; + phys = <&hsic_phy1>; + phy-names = "usb"; + phy_type = "hsic"; + #address-cells = <0x01>; + #size-cells = <0x00>; + status = "disabled"; + }; + mmc1: mmc@d4280000 { compatible = "mrvl,pxav3-mmc"; reg = <0xd4280000 0x120>; From patchwork Fri Dec 20 06:53:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 11304895 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D93B3109A for ; Fri, 20 Dec 2019 06:53:24 +0000 (UTC) Received: from web01.groups.io (web01.groups.io [66.175.222.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B333D24689 for ; Fri, 20 Dec 2019 06:53:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.kernel.org header.i=@linux.kernel.org header.b="KtMBK/Pt" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B333D24689 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=bounce+26986+1048+1554929+3438807@linux.kernel.org X-Received: by 127.0.0.2 with SMTP id H60ZYY1556264xex11IaAnrv; Thu, 19 Dec 2019 22:53:24 -0800 X-Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mx.groups.io with SMTP id smtpd.web09.6156.1576824804054469599 for ; Thu, 19 Dec 2019 22:53:24 -0800 X-Received: by mail.kernel.org (Postfix) id D19A324685; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) X-Received: from shell.v3.sk (unknown [167.172.186.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AC6424689; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9AC6424689 X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id D43EFDFC79; Fri, 20 Dec 2019 06:53:25 +0000 (UTC) X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id jl0z1ywG4n5I; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) X-Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 4F93DDFC9F; Fri, 20 Dec 2019 06:53:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk X-Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id e92W2l2Ck0O1; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) X-Received: from furthur.lan (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 39C66DFC76; Fri, 20 Dec 2019 06:53:22 +0000 (UTC) From: Lubomir Rintel To: Linuxkernel+Patchwork-Soc via Email Integration Cc: Arnd Bergmann , Kishon Vijay Abraham I , Rob Herring , Mark Rutland , Michael Turquette , Stephen Boyd , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, soc@kernel.org, Lubomir Rintel Subject: [PATCH 5/5] ARM: dts: mmp3-dell-ariel: Enable the HSIC Date: Fri, 20 Dec 2019 07:53:14 +0100 Message-Id: <20191220065314.237624-6-lkundrak@v3.sk> In-Reply-To: <20191220065314.237624-1-lkundrak@v3.sk> References: <20191220065314.237624-1-lkundrak@v3.sk> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: patchwork-soc@linux.kernel.org List-Id: Mailing-List: list patchwork-soc@linux.kernel.org; contact patchwork-soc+owner@linux.kernel.org Delivered-To: mailing list patchwork-soc@linux.kernel.org Reply-To: patchwork-soc+owner@linux.kernel.org X-Gm-Message-State: sZhfLTvBwRf1HODNJu55qE4Lx1554929AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux.kernel.org; q=dns/txt; s=20140610; t=1576824804; bh=xIdtZU43FR8PkkgGP2QZzXxQvWOxv2SyhKLuReFHWDk=; h=Cc:Date:From:Reply-To:Subject:To; b=KtMBK/Pt2RSE+Rhi9sYCfpvNikmGo6i6qMz1NzKQh35S5tNbtk3u9LXLnCg2Kgj1k97 q7mmHF6YG0AH5iUNJoQCOweIXnii85R3kuYv37fy3W3h9j9lro9bICPraGEH/pkeTh72C fKADhqpflGA7f2MsbWoQcsigjjiRi0MsMNo= There's a SMSC USB2640 (USB hub & SD controller) connected to it, but the SD card slot footprint is unpopulated. Also connected to the hub is a SMSC LAN7500 gigabit ethernet adapter. Signed-off-by: Lubomir Rintel --- arch/arm/boot/dts/mmp3-dell-ariel.dts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index c1947b5a688d7..15449c72c042b 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts +++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts @@ -49,6 +49,28 @@ &usb_otg_phy0 { status = "okay"; }; +&hsic0 { + status = "okay"; + + usb1@1 { + compatible = "usb424,2640"; + reg = <0x01>; + #address-cells = <0x01>; + #size-cells = <0x00>; + + mass-storage@1 { + compatible = "usb424,4040"; + reg = <0x01>; + status = "disabled"; + }; + }; +}; + +&hsic_phy0 { + status = "okay"; + reset-gpios = <&gpio 63 GPIO_ACTIVE_HIGH>; +}; + &mmc3 { status = "okay"; max-frequency = <50000000>;