From patchwork Mon Jul 20 10:58:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1512 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5E2B53F03F for ; Mon, 20 Jul 2020 12:59:36 +0200 (CEST) Received: by mail-pj1-f71.google.com with SMTP id z8sf6891550pje.0 for ; Mon, 20 Jul 2020 03:59:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595242775; cv=pass; d=google.com; s=arc-20160816; b=RQ8fNOJiGnLSZeCXOEw+3pAKphVSLz949onT75EJrngq2Hanbh5jYu3PkOqsCR6hEP QTbLru21vEZzpvpQ5xOSefcVWtCQ5n0XwCSVsn9W7vRBsb4Qyko97ArcS1RtXfHovqaa wY3HdNqRKYhAVm3N8efVfXSsFUq0r4+HOmTjM/uA2LulYdcAISaS2xQjU+t3PdRugcBp B5z53MYoZ0N16HJf1YRBXe8T4U9uHhYi0xq+pCHjAw1lF1HMfD87Fi+QaUM/OrIEo25W birfvesazY66Wv1dMygEzj83jg9dGFjjOVRuckQfCyQ/z5agYG4GdTU8mm+ripLQ2jBa jCNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=ZcznCLBQxkp20XOcbdmojWoLw14GX1X6VZ3yXmCU1os=; b=Qzc4CvlNpKJajA7HXiWsxTkes/C0LrZwGyrD03veHKKLB3Ox01gwlAXd2mW/bQc4yK JnI6XvI/1taw56m1/M7y6Qzss9R8mxhENVqadk5EIuCsVhsovGO5Fur0Rc82wyc5BS0l 97zpFBdACP618W74y8PdbCsO0Xtmv9FQJ85MkxHIhtxi8PvLiaAthN30aJz1j2SCROrH 0cUQ8d58MZtxGrGCAJlwgpeR4icm1PJB2RJx9cTCyxj9+QMGMYzOB8PNjnc+WpCVpWM+ 7XbiMQCKXOQf9xQENy/3pNSlLumPjUdQjKDHL8YtGld8bdkSBRo/qguipR58foOvdWX0 c3Ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3xW78P+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=ZcznCLBQxkp20XOcbdmojWoLw14GX1X6VZ3yXmCU1os=; b=er2GaQNABMH90ubBmoabk5CCLegwzlwP5FEaPI5vfSNkdupPZkbalY3Qxe0g5RFKtj XB5aKgqqfb1Zc9iHnFkfK5wF0pzlz3iStjmKuU4eI/ggwgDr6PA99mQ84iYb+biZp8Da vcnqDbukS+vplghB838CpSOEd4/gFpFKiV6+I= 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:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=ZcznCLBQxkp20XOcbdmojWoLw14GX1X6VZ3yXmCU1os=; b=NhUyAYXrm4gqMVxmlrgPrSQG7BAMbCH8ZwlInAhGe+upR1dUEc2uOdVyBNxdIJPTd9 JRtKLhWbu/7j+IrjmUhpmH2kZsCpclaRYpDgXkyFshHsCVor9aeb3OC0O/Toe3bXzKQO OATMOO4lpksEyVfjD7XZO2gkLcjTan8MFKiZF/9Z+I5B/EpH52Y1VpDW5ZdBBHE1fGP5 2UtYWgu2FNSrUdFTHdwc+6FrCnMkmsLJ8NutY/7M4SXUqHkjxh+xd6wHA2PeM8BK300V IagnX21dlepfKvTtuu6ozCPUXD3J0N9db/6DskXqvTzwbw81vyX1WEUSbwbDLr418obB 5L/Q== X-Gm-Message-State: AOAM531S4ptCdjezGxkjA55Cc2fTr1nY/S0B1dZ9WjsKsa8Z8eNDruni 5RMmdbOIhbqf4Wcsu+mpzp7oBLgc X-Google-Smtp-Source: ABdhPJwQCg931Y0WXZotTBXn8uKMOGvaE09wNp5y1mu+GEU+ej1vbqfIlFaJm8b+Kc4lwx3kWpZfiw== X-Received: by 2002:a17:90a:3523:: with SMTP id q32mr21402927pjb.185.1595242775101; Mon, 20 Jul 2020 03:59:35 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1bce:: with SMTP id b197ls4537257pfb.10.gmail; Mon, 20 Jul 2020 03:59:34 -0700 (PDT) X-Received: by 2002:a62:5297:: with SMTP id g145mr7195481pfb.28.1595242774656; Mon, 20 Jul 2020 03:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595242774; cv=none; d=google.com; s=arc-20160816; b=K/X8TZudOUlJZ0McdVNYEItmmfwAYVxLmBrKOmbL+jRrCOu86sKzF6p1OdK+8nydZg Xnx4tMa9I4rVgpRRPEz4X6ZC/ni8DT481ET6FYORgNzX6ZL9K2njdtex2GsNoO10iXZS IJf4ca6KN0/Mgub66J8h+zyaLojVBl+UlLjZtnqCobd6BlXmNYeUIwibVPN14RUmhE4O K2t0PHWiHGuRBJqfcLaN6GTD31A3hxKgs3h5KwXuS9C18CJIxE3PV8Wc9ovzwdb1Lemz cHt+zDc2wm5EHzpNUsPC7uWtFFqeZhkT5vInwUet6CW8hkrxh2vLQNGdkKoC7B55LMiH 5vqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=NV2nv0m/i4PWrK4r7Y/F/y8REceyZBWN4KHSSee/EVw=; b=sHhaitxioU1TnnPowPO68kdkLQLWpC5NHgdoVCz8111EnPXbUHUHYMT4vADME1IDaV AAZxZjmikxRC5FTFtcP0FNZk6/s/FSeQK/Kg6FIxSEWMfHu7wdE3khec/Gz2eJHYO7e9 okbl1XIfP6kvWDCbThAjHx+o+64KYIci4JxjPXXWENzQ8m6qvwX4lmIq5fpJRd74lUDU 8QXlgVAeKtkZRpa7FfK6fXcgrHBTGY4kOeBgtIf6RONhp0LLjJkvynDHlVXDCN8XOYuZ N2RtDRpzu7IIcC19vjnUTIi0XRnb75wsgbsZww5/Qf0lDgbvAYfppp8Pd7E6+R7o+Ebq IThA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3xW78P+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id g89sor13944414pjg.26.2020.07.20.03.59.34 for (Google Transport Security); Mon, 20 Jul 2020 03:59:34 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:90a:f6d8:: with SMTP id er24mr21704466pjb.203.1595242774120; Mon, 20 Jul 2020 03:59:34 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id b8sm10817049pjd.5.2020.07.20.03.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 03:59:32 -0700 (PDT) From: Jagan Teki To: Heiko Stuebner , Rob Herring Cc: Suniel Mahesh , Michael Trimarchi , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amarula , Jagan Teki , William Wu Subject: [PATCH v3] ARM: dts: rockchip: Add usb host0 ohci node for rk3288 Date: Mon, 20 Jul 2020 16:28:46 +0530 Message-Id: <20200720105846.367776-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3xW78P+; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288 dtsi and the quirk in ohci platform driver will disable ohci on rk3288. Cc: William Wu Signed-off-by: Jagan Teki --- Changes for v3: - none arch/arm/boot/dts/rk3288.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 0cd88774db95..f0774d9afb67 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -614,7 +614,16 @@ usb_host0_ehci: usb@ff500000 { status = "disabled"; }; - /* NOTE: ohci@ff520000 doesn't actually work on hardware */ + /* NOTE: doesn't work on RK3288, but fixed on RK3288W */ + usb_host0_ohci: usb@ff520000 { + compatible = "generic-ohci"; + reg = <0x0 0xff520000 0x0 0x100>; + interrupts = ; + clocks = <&cru HCLK_USBHOST0>; + phys = <&usbphy1>; + phy-names = "usb"; + status = "disabled"; + }; usb_host1: usb@ff540000 { compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",