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=-2.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_NEOMUTT 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 F0552C43613 for ; Mon, 24 Jun 2019 14:10:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C5902213F2 for ; Mon, 24 Jun 2019 14:10:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726935AbfFXOKB (ORCPT ); Mon, 24 Jun 2019 10:10:01 -0400 Received: from mslow2.mail.gandi.net ([217.70.178.242]:51848 "EHLO mslow2.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726351AbfFXOKA (ORCPT ); Mon, 24 Jun 2019 10:10:00 -0400 Received: from relay7-d.mail.gandi.net (unknown [217.70.183.200]) by mslow2.mail.gandi.net (Postfix) with ESMTP id 996DF3AB767; Mon, 24 Jun 2019 13:49:07 +0000 (UTC) X-Originating-IP: 90.88.16.156 Received: from localhost (aaubervilliers-681-1-41-156.w90-88.abo.wanadoo.fr [90.88.16.156]) (Authenticated sender: maxime.ripard@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 7056A20015; Mon, 24 Jun 2019 13:48:57 +0000 (UTC) Date: Mon, 24 Jun 2019 15:48:56 +0200 From: Maxime Ripard To: Icenowy Zheng Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Linus Walleij , linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Chen-Yu Tsai , Rob Herring , linux-clk@vger.kernel.org Subject: Re: [PATCH v3 9/9] ARM: dts: sun8i: s3: add devicetree for Lichee zero plus w/ S3 Message-ID: <20190624134856.4cez7m3uc3tzkpuc@flea> References: <20190623043801.14040-1-icenowy@aosc.io> <20190623043801.14040-10-icenowy@aosc.io> <20190624124301.chwhfalk5o53fm5x@flea> <1E6AB747-5A4C-4515-A0EB-F0E89F520CF7@aosc.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zxvkkmn55l32dkjm" Content-Disposition: inline In-Reply-To: <1E6AB747-5A4C-4515-A0EB-F0E89F520CF7@aosc.io> User-Agent: NeoMutt/20180716 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org --zxvkkmn55l32dkjm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 24, 2019 at 09:43:23PM +0800, Icenowy Zheng wrote: > >> +&usb_otg { > >> + dr_mode = "otg"; > >> + status = "okay"; > >> +}; > >> + > >> +&usbphy { > >> + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; > >> + status = "okay"; > >> +}; > > > >How can it do OTG if there's no controllable VBUS regulator? > > All 5V's are connected together, like Orange Pi Zero. So it's a "it can't"? And the orange pi zero says that it can only do peripheral. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --zxvkkmn55l32dkjm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXRDUyAAKCRDj7w1vZxhR xf0zAQCi5yMphtVy7Fni1inyxiANdxNrQlQW3OVimG6brkVyVwEAo7h8m+NLImGt 4bQgRfzj3aMgbAemt9y56Z7FeLYepwg= =+IOZ -----END PGP SIGNATURE----- --zxvkkmn55l32dkjm-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v3 9/9] ARM: dts: sun8i: s3: add devicetree for Lichee zero plus w/ S3 Date: Mon, 24 Jun 2019 15:48:56 +0200 Message-ID: <20190624134856.4cez7m3uc3tzkpuc@flea> References: <20190623043801.14040-1-icenowy@aosc.io> <20190623043801.14040-10-icenowy@aosc.io> <20190624124301.chwhfalk5o53fm5x@flea> <1E6AB747-5A4C-4515-A0EB-F0E89F520CF7@aosc.io> Reply-To: maxime.ripard-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zxvkkmn55l32dkjm" Return-path: Sender: linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Content-Disposition: inline In-Reply-To: <1E6AB747-5A4C-4515-A0EB-F0E89F520CF7-h8G6r0blFSE@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Icenowy Zheng Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linus Walleij , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-gpio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Chen-Yu Tsai , Rob Herring , linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org --zxvkkmn55l32dkjm Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline On Mon, Jun 24, 2019 at 09:43:23PM +0800, Icenowy Zheng wrote: > >> +&usb_otg { > >> + dr_mode = "otg"; > >> + status = "okay"; > >> +}; > >> + > >> +&usbphy { > >> + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; > >> + status = "okay"; > >> +}; > > > >How can it do OTG if there's no controllable VBUS regulator? > > All 5V's are connected together, like Orange Pi Zero. So it's a "it can't"? And the orange pi zero says that it can only do peripheral. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --zxvkkmn55l32dkjm-- 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=-2.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_NEOMUTT 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 C0F3FC43613 for ; Mon, 24 Jun 2019 13:49:23 +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 9A4E4208E4 for ; Mon, 24 Jun 2019 13:49:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CnEEOpny" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9A4E4208E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5C7dCQzVnG42RsrphFMZEQw7VYNtwQZptYniwGrLvFA=; b=CnEEOpnyY4dqtsuawEJWE0E1w 3RNWk1Mu9Iei/4yhA689YHtqs0BwLwtmuA1tiGOKcd/3Jb5FDqvooPIk4k0/O1sjAVPVRq5tC4nS5 atwdEz897T4cskDk8IvU7fhm4ldeyr8z0Dm3mciKONWvsWPkg7bA8cPE2efwF7ROW50YfvkOUSV4F RJzS4HO2KuQtCmndiz3Yjc39Vrp9RVzkCQVWgAPYaIOFX6vS1r4wi+shoVpKLqTOxu8LW/w62UV+8 j1CjgPv0YAuAK7ku7uhkHN0QM4jCCkiE9lCPFmHa43ds/VejSuzwuyiaIfhMm1HEV9wpb24b81l5B VJDhp0PtQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfPLN-00015n-Ap; Mon, 24 Jun 2019 13:49:13 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfPLK-00015H-00 for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2019 13:49:11 +0000 X-Originating-IP: 90.88.16.156 Received: from localhost (aaubervilliers-681-1-41-156.w90-88.abo.wanadoo.fr [90.88.16.156]) (Authenticated sender: maxime.ripard@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 7056A20015; Mon, 24 Jun 2019 13:48:57 +0000 (UTC) Date: Mon, 24 Jun 2019 15:48:56 +0200 From: Maxime Ripard To: Icenowy Zheng Subject: Re: [PATCH v3 9/9] ARM: dts: sun8i: s3: add devicetree for Lichee zero plus w/ S3 Message-ID: <20190624134856.4cez7m3uc3tzkpuc@flea> References: <20190623043801.14040-1-icenowy@aosc.io> <20190623043801.14040-10-icenowy@aosc.io> <20190624124301.chwhfalk5o53fm5x@flea> <1E6AB747-5A4C-4515-A0EB-F0E89F520CF7@aosc.io> MIME-Version: 1.0 In-Reply-To: <1E6AB747-5A4C-4515-A0EB-F0E89F520CF7@aosc.io> User-Agent: NeoMutt/20180716 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_064910_190706_D85E357B X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linus Walleij , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-sunxi@googlegroups.com, Rob Herring , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: multipart/mixed; boundary="===============6715227511461047819==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6715227511461047819== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zxvkkmn55l32dkjm" Content-Disposition: inline --zxvkkmn55l32dkjm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 24, 2019 at 09:43:23PM +0800, Icenowy Zheng wrote: > >> +&usb_otg { > >> + dr_mode = "otg"; > >> + status = "okay"; > >> +}; > >> + > >> +&usbphy { > >> + usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; > >> + status = "okay"; > >> +}; > > > >How can it do OTG if there's no controllable VBUS regulator? > > All 5V's are connected together, like Orange Pi Zero. So it's a "it can't"? And the orange pi zero says that it can only do peripheral. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --zxvkkmn55l32dkjm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXRDUyAAKCRDj7w1vZxhR xf0zAQCi5yMphtVy7Fni1inyxiANdxNrQlQW3OVimG6brkVyVwEAo7h8m+NLImGt 4bQgRfzj3aMgbAemt9y56Z7FeLYepwg= =+IOZ -----END PGP SIGNATURE----- --zxvkkmn55l32dkjm-- --===============6715227511461047819== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6715227511461047819==--