Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752822AbdFLUxU (ORCPT ); Mon, 12 Jun 2017 16:53:20 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:36019 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbdFLUxS (ORCPT ); Mon, 12 Jun 2017 16:53:18 -0400 MIME-Version: 1.0 In-Reply-To: References: <1496426512-10590-1-git-send-email-alcooperx@gmail.com> <1496426512-10590-3-git-send-email-alcooperx@gmail.com> <20170608221104.7nsinggo4vngbmus@rob-hp-laptop> From: Al Cooper Date: Mon, 12 Jun 2017 16:53:12 -0400 Message-ID: Subject: Re: [PATCH 2/3] dt-bindings: Add Broadcom STB USB PHY binding document To: Rob Herring Cc: Al Cooper , linux-kernel@vger.kernel.org, Mark Rutland , Florian Fainelli , BCM Kernel Feedback , Kishon Vijay Abraham I , Greg Kroah-Hartman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 899 Lines: 26 On Mon, Jun 12, 2017 at 4:19 PM, Al Cooper wrote: > On Thu, Jun 8, 2017 at 6:11 PM, Rob Herring wrote: >>> +- brcm,device: String, PHY Device mode. >>> + Possible values are: off (Host), on (Device), dual (DRD) >>> + or typec-pd (Type-C PD control) >> >> I believe we have standard property for this though maybe not type C. >> >> off/on seem strange for meaning host/device as well. > > I'll change this to: > > mode: String, PHY Device mode. > Possible values are: "host", "device", "drd" or "typec-pd" I just found "dr_mode" in Documentation/devicetree/bindings/usb/generic.txt. I'd like to change this to: dr_mode: String, PHY Device mode. Possible values are: "host", "device", "drd" or "typec-pd" I used a standard property name ("dr_mode") and 2 of the standard values ("host", "device") and added 2 new values "drd" and "typec_pd". Thanks Al