From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D033C48BDF for ; Tue, 15 Jun 2021 11:26:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 830806145C for ; Tue, 15 Jun 2021 11:26:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230225AbhFOL2L convert rfc822-to-8bit (ORCPT ); Tue, 15 Jun 2021 07:28:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229557AbhFOL2K (ORCPT ); Tue, 15 Jun 2021 07:28:10 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEE15C061574 for ; Tue, 15 Jun 2021 04:26:05 -0700 (PDT) Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt7CU-0003gA-A2; Tue, 15 Jun 2021 13:25:46 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lt7CQ-0004AZ-TV; Tue, 15 Jun 2021 13:25:42 +0200 Message-ID: <869864f6f85c1f1d3427bf6be32d703758bdad71.camel@pengutronix.de> Subject: Re: [PATCH v7 13/19] phy: sun4i-usb: Allow reset line to be shared From: Philipp Zabel To: Andre Przywara , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: Rob Herring , Icenowy Zheng , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Ondrej Jirman , Kishon Vijay Abraham I , Vinod Koul , linux-phy@lists.infradead.org, linux-usb@vger.kernel.org Date: Tue, 15 Jun 2021 13:25:42 +0200 In-Reply-To: <20210615110636.23403-14-andre.przywara@arm.com> References: <20210615110636.23403-1-andre.przywara@arm.com> <20210615110636.23403-14-andre.przywara@arm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-06-15 at 12:06 +0100, Andre Przywara wrote: > The USB HCIs (and PHYs?) in Allwinner's newer generation SoCs (H616) > rely on the reset line of USB PHY 2 to be de-asserted, even when only > one of the other PHYs is actually in use. > > To make those ports work, we include this reset line in the HCIs' resets > property, which requires this line to be shareable. > > Change the call to allocate the reset line to mark it as shared, to > enable the other ports on those SoCs. > > Signed-off-by: Andre Przywara Reviewed-by: Philipp Zabel regards Philipp From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D46FFC48BE5 for ; Tue, 15 Jun 2021 13:55:56 +0000 (UTC) Received: from bombadil.infradead.org (unknown [198.137.202.133]) (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 91C266105A for ; Tue, 15 Jun 2021 13:55:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91C266105A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=PQQKROig56R0tzxuU9POgl4uS//8yTdMThit+FOgurQ=; b=cggrDSmoc3GrV3 dVuWoVKWVTMepF9TKWbBtsAuLc8sFTuA4VtP4YKPBuyKE6ptA/xQegiKEZsc30A/39HoKC2E+3+jT 1pdiOomkAezKkn4fD7ecNXM0tqePSGloD3sORJjr0Vpn6VkgRuOBDcG3hXz2wqW3Ydjuhk1k/8Hy3 prAR1WnSTWkQAUBYPAcywLWZNQJwn785uZOH19XXmBTrAj5+LWQuQBVV4+iIvR2nXf3TIDuy7Syxj wuCg67cKgcOXsZIL2IVCdhuna4DGd68H3Hu887eHpsK4U2T8ELmDfFn+jjKNXAkF6nk79BRVG+TNW kBbHLLid1xtHnq2jefsg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9Q5-000Ink-Ka; Tue, 15 Jun 2021 13:47:59 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9Fj-000DEY-Go for linux-arm-kernel@bombadil.infradead.org; Tue, 15 Jun 2021 13:37:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=MIME-Version:Content-Transfer-Encoding :Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=9Eix1EXFaB3yxguDPr89xCek3ZMvAZScjmLrpVNiIyo=; b=kaBg3vKyHeJzwiOTqLwCHc15o/ EMbkWy8OrYGp+6rmuBgEWVEbtEop3YgpO4jgvKHGYl885WE2I+9HGDxLPDMEFV3H77CWRPaU6ZLa4 iNkPGy0XQ0/TSjj5Y9tkt2Z8mg445qeJMG5C90R9Txm2ly/D99af9B1AxT+J8P6VfAZs5lLXqeUGB MSwzGvq5xTnjqMRPjrS24JVxu3tM4NRXC9DTQcpsJZWCy+G+6aph9fDBAF2Ohc/PGxfJuokoirGKT MZKNVR1g7tzd6g0uf0BFJ0QgCKICjazDjBaV7D3i1vULQx5vBRSTDIwUHbE7xRU4YA29ufenMo1/W 7bLaQY2w==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt7Cd-007m0v-Mx for linux-arm-kernel@lists.infradead.org; Tue, 15 Jun 2021 11:26:04 +0000 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt7CU-0003gA-A2; Tue, 15 Jun 2021 13:25:46 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lt7CQ-0004AZ-TV; Tue, 15 Jun 2021 13:25:42 +0200 Message-ID: <869864f6f85c1f1d3427bf6be32d703758bdad71.camel@pengutronix.de> Subject: Re: [PATCH v7 13/19] phy: sun4i-usb: Allow reset line to be shared From: Philipp Zabel To: Andre Przywara , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: Rob Herring , Icenowy Zheng , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Ondrej Jirman , Kishon Vijay Abraham I , Vinod Koul , linux-phy@lists.infradead.org, linux-usb@vger.kernel.org Date: Tue, 15 Jun 2021 13:25:42 +0200 In-Reply-To: <20210615110636.23403-14-andre.przywara@arm.com> References: <20210615110636.23403-1-andre.przywara@arm.com> <20210615110636.23403-14-andre.przywara@arm.com> User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-arm-kernel@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210615_122602_619157_41042D79 X-CRM114-Status: GOOD ( 10.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 2021-06-15 at 12:06 +0100, Andre Przywara wrote: > The USB HCIs (and PHYs?) in Allwinner's newer generation SoCs (H616) > rely on the reset line of USB PHY 2 to be de-asserted, even when only > one of the other PHYs is actually in use. > > To make those ports work, we include this reset line in the HCIs' resets > property, which requires this line to be shareable. > > Change the call to allocate the reset line to mark it as shared, to > enable the other ports on those SoCs. > > Signed-off-by: Andre Przywara Reviewed-by: Philipp Zabel regards Philipp _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7034C48BE5 for ; Tue, 15 Jun 2021 17:58:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 1B630610A2 for ; Tue, 15 Jun 2021 17:58:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1B630610A2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F5G6hrVFYfeOX+f+ntTs/sw3WH2V+l94Jo+UzBXWjIU=; b=F+Gp0QhYFD+5Db 5Vn6qQmYuFQoWrTS/gMgFbT0Ea5CprdIUiWGElJPZejE/2JE63imD7kswfBzZC0hlpw7EwFMiLF2w qP6eY9yBRfqrOW/VUaHUL5aDZ+Nhc8/Lu8s77bB/JyBOmpTJMPRULku1s5F5FSyAet3aiAROGBKkr 6kxhp8sNT4k/C701dBc7O1nXi43Aol4T1CyaQsuUySN/sR1duMglTHLmFpi/2vQ7LvSxvFClVJhQk BXNOxzo3FfD7rVuH8nt2vUEVU1XPD29N0ufItohetDLPNYsYVd8pg1zeZ3YsMLT3ZPbo6nc7POnBs XAzQo2gcxhlPWFNu5WnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ltDKG-001uui-D8; Tue, 15 Jun 2021 17:58:12 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt9Fj-000ByJ-U3 for linux-phy@bombadil.infradead.org; Tue, 15 Jun 2021 13:37:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=MIME-Version:Content-Transfer-Encoding :Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID: Sender:Reply-To:Content-ID:Content-Description; bh=9Eix1EXFaB3yxguDPr89xCek3ZMvAZScjmLrpVNiIyo=; b=kaBg3vKyHeJzwiOTqLwCHc15o/ EMbkWy8OrYGp+6rmuBgEWVEbtEop3YgpO4jgvKHGYl885WE2I+9HGDxLPDMEFV3H77CWRPaU6ZLa4 iNkPGy0XQ0/TSjj5Y9tkt2Z8mg445qeJMG5C90R9Txm2ly/D99af9B1AxT+J8P6VfAZs5lLXqeUGB MSwzGvq5xTnjqMRPjrS24JVxu3tM4NRXC9DTQcpsJZWCy+G+6aph9fDBAF2Ohc/PGxfJuokoirGKT MZKNVR1g7tzd6g0uf0BFJ0QgCKICjazDjBaV7D3i1vULQx5vBRSTDIwUHbE7xRU4YA29ufenMo1/W 7bLaQY2w==; Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lt7Cd-007m0y-My for linux-phy@lists.infradead.org; Tue, 15 Jun 2021 11:26:04 +0000 Received: from lupine.hi.pengutronix.de ([2001:67c:670:100:3ad5:47ff:feaf:1a17] helo=lupine) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lt7CU-0003gA-A2; Tue, 15 Jun 2021 13:25:46 +0200 Received: from pza by lupine with local (Exim 4.92) (envelope-from ) id 1lt7CQ-0004AZ-TV; Tue, 15 Jun 2021 13:25:42 +0200 Message-ID: <869864f6f85c1f1d3427bf6be32d703758bdad71.camel@pengutronix.de> Subject: Re: [PATCH v7 13/19] phy: sun4i-usb: Allow reset line to be shared From: Philipp Zabel To: Andre Przywara , Maxime Ripard , Chen-Yu Tsai , Jernej Skrabec Cc: Rob Herring , Icenowy Zheng , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Ondrej Jirman , Kishon Vijay Abraham I , Vinod Koul , linux-phy@lists.infradead.org, linux-usb@vger.kernel.org Date: Tue, 15 Jun 2021 13:25:42 +0200 In-Reply-To: <20210615110636.23403-14-andre.przywara@arm.com> References: <20210615110636.23403-1-andre.przywara@arm.com> <20210615110636.23403-14-andre.przywara@arm.com> User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-phy@lists.infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210615_122602_620721_5957259F X-CRM114-Status: UNSURE ( 9.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Tue, 2021-06-15 at 12:06 +0100, Andre Przywara wrote: > The USB HCIs (and PHYs?) in Allwinner's newer generation SoCs (H616) > rely on the reset line of USB PHY 2 to be de-asserted, even when only > one of the other PHYs is actually in use. > > To make those ports work, we include this reset line in the HCIs' resets > property, which requires this line to be shareable. > > Change the call to allocate the reset line to mark it as shared, to > enable the other ports on those SoCs. > > Signed-off-by: Andre Przywara Reviewed-by: Philipp Zabel regards Philipp -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy