Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751359AbdGQRWx (ORCPT ); Mon, 17 Jul 2017 13:22:53 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:33151 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311AbdGQRWu (ORCPT ); Mon, 17 Jul 2017 13:22:50 -0400 Date: Mon, 17 Jul 2017 12:22:48 -0500 From: Rob Herring To: Stephen Boyd Cc: Peter Chen , Peter Rosin , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Clark , Andy Gross , Greg Kroah-Hartman Subject: Re: [PATCH 2/3] usb: chipidea: Hook into mux framework to toggle usb switch Message-ID: <20170717172248.feign2ej7wr2s6tt@rob-hp-laptop> References: <20170712010255.26855-1-stephen.boyd@linaro.org> <20170712010255.26855-3-stephen.boyd@linaro.org> <2db7bc39-9274-6007-d971-59e2a577d437@axentia.se> <149998498328.4532.10720468535933872401@sboyd-linaro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <149998498328.4532.10720468535933872401@sboyd-linaro> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 817 Lines: 24 On Thu, Jul 13, 2017 at 03:29:43PM -0700, Stephen Boyd wrote: > Quoting Peter Rosin (2017-07-11 23:45:24) > > On 2017-07-12 03:02, Stephen Boyd wrote: > > > @@ -102,4 +107,7 @@ Example: > > > rx-burst-size-dword = <0x10>; > > > extcon = <0>, <&usb_id>; > > > phy-clkgate-delay-us = <400>; > > > + mux-controls = <&usb_switch>; > > > + mux-control-names = "usb_switch"; Pointless to have a name when there is only 1. > > > + usb-switch-states = <0>, <1>; > > > > I don't see the need for usb-switch-states? Just assume states 0/1 and > > if someone later needs some other states, make them add a property that > > overrides the defaults. Just document that 0 is host and 1 is device. > > > > Fine by me. Rob H do you agree? Yes. Rob