From patchwork Mon Nov 9 18:10:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 11892165 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 EAB19139F for ; Mon, 9 Nov 2020 18:10:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 B03E12067D for ; Mon, 9 Nov 2020 18:10:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EsY/4u5M"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="qFJxvCT4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B03E12067D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RhYjZe3NK321xdhXhH2t3tBDqufSugfDDYLs8qkFXHs=; b=EsY/4u5MB4JzgpET8DvRHoBcZ mAkOC538phPBpbl4j24g47HVz/pJe0OteDLSKgm5Crl+8e3mSnHRlDH7gM0DYum4D8gyefrwevKEM azcxOxCDpw+CmX+DIqEa70qzeW7Fr6KVEss/TB4py8ASvGe1wTJUw9rRHp0ommglxIjWOwvRGgaEc kJpsCFHKBhESX/KfaGEm4IMaPY9glrDRgpWK/QFAxjQI/seKIxqn9PgbKCSYcPd+lRGGwnStQamBp qGSRdKLkD2OXJ2yVjV3m5upO4Id0sYeuXMGXVPI+0DjR1jHm+ZY6DfgyQfvCR/es9oFOLGLjYNPrq pUDS22WVQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBcz-0005nt-42; Mon, 09 Nov 2020 18:10:53 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBcu-0005le-Q8 for linux-rockchip@lists.infradead.org; Mon, 09 Nov 2020 18:10:50 +0000 Received: by mail-pg1-x544.google.com with SMTP id f38so7831533pgm.2 for ; Mon, 09 Nov 2020 10:10:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wxKM9OJFbbgGll1Azt3O4g68tLbE1pRW8jbL6x9JVdk=; b=qFJxvCT4TrhfaJc/Kq5S+yGbXMuHAGrfYOEU9Rv6qRNOtm5VVWVdmcDJrSEUsIH9Wj XfzYThBUODapTlzJFb/W/Mer3E9+dRUehN5L5/lsqFA8krikRSaI0YOmMLZplyC4p5Lp 0QQFZr0xpZbb5wrpU2+IlGuKM8ICWZ0inAQTI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wxKM9OJFbbgGll1Azt3O4g68tLbE1pRW8jbL6x9JVdk=; b=tmmf1vCwnecGgSCpkbuu9slViUcoEDAS/dVLIG4THmzZDtLd1OBlu0G8h+MgaTXya1 BxOpy98C3BJZkv8iDOw+GMUWTaS6yhs+1ENfY3POyMlPDaiuqCvI0SUF8R9zGue1is1W D6P1kPWBACZS2DRU9USGiWucRZUHjzb15uJKderi95S5KpJxnr6Xc3EXubVu813g00g9 ENHUZAvoQ5APtqwMGhYIdNb5B0wY5UfbhMFMeVhPka1BwzF2s0XVFPXYQQft/uxOawfD 0feVbeIb3pFKL6PewulvxGPcseVgqfI6Q+QREsAJxnn8DpZix8YiNeDzKdzlMjRbsEfn f+ow== X-Gm-Message-State: AOAM5329vbXESVRuiLNrOhBAuqYrLS0TwwKQr13wbBSaSttom/9GHMBG dzPsC8nUj/iIh0hIiwH22OhVqQ== X-Google-Smtp-Source: ABdhPJw2v3k35gloDwQXwwQ1imtIvDGd5xSjMeYWbxRQym9kRDubJ4A+9jzjnF0zIyhIyH2HalnP8w== X-Received: by 2002:a17:90b:a51:: with SMTP id gw17mr390261pjb.218.1604945446746; Mon, 09 Nov 2020 10:10:46 -0800 (PST) Received: from localhost.localdomain ([2405:201:c809:c7a4:c0f0:b8ab:4687:594d]) by smtp.gmail.com with ESMTPSA id 136sm12027685pfa.132.2020.11.09.10.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:10:46 -0800 (PST) From: Jagan Teki To: Heiko Stuebner , Rob Herring , Catalin Marinas , Will Deacon Subject: [PATCH 1/9] arm64: dts: rockchip: px30-enagicam: Enable USB Host, OTG Date: Mon, 9 Nov 2020 23:40:09 +0530 Message-Id: <20201109181017.206834-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109181017.206834-1-jagan@amarulasolutions.com> References: <20201109181017.206834-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_131048_906856_FDE4A068 X-CRM114-Status: GOOD ( 12.10 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:544 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Jagan Teki , Suniel Mahesh , Michael Trimarchi , linux-amarula , linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org Engicam EDIMM2.2 and C.Touch 2.0 Kits support USB Host and OTG ports. Add support to enable USB on these kits while mounting px30-core SOM. Signed-off-by: Jagan Teki --- .../dts/rockchip/px30-engicam-common.dtsi | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi b/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi index bd5bde989e8d..fbbdbb0a40af 100644 --- a/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30-engicam-common.dtsi @@ -33,7 +33,31 @@ &sdmmc { status = "okay"; }; +&u2phy { + status = "okay"; + + u2phy_host: host-port { + status = "okay"; + }; + + u2phy_otg: otg-port { + status = "okay"; + }; +}; + &uart2 { pinctrl-0 = <&uart2m1_xfer>; status = "okay"; }; + +&usb20_otg { + status = "okay"; +}; + +&usb_host0_ehci { + status = "okay"; +}; + +&usb_host0_ohci { + status = "okay"; +};