Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp83848ybj; Fri, 8 May 2020 07:04:21 -0700 (PDT) X-Google-Smtp-Source: APiQypJK6kd30ilMG0smHcbqUv6XNsGGWqqTakDxRN/7LTaQ5pbM1G4UVpKlvL1Qb+DTtIt95Y9n X-Received: by 2002:a1c:9a81:: with SMTP id c123mr15280907wme.115.1588946661132; Fri, 08 May 2020 07:04:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588946661; cv=none; d=google.com; s=arc-20160816; b=HKxJaz0f93d+QfvDRBguLV/QcS2jJBUBqWZWfVk9o6Uz1rqIXRwvNNcVEBvYDbd1L9 TmBrBJB0swU9TsX5WJ9/HSj/f+hpQF8f1uSANUyyO/4urj19y43vYnsz+vx+TkEZdSRG oFHpFyCueNxDSjP2kPpFz1PpJis8O6TNJlVjfURFubBaMBuTuw5a6i8ZW9l36V7WQzle pOnuC3hvnOLDTNEDIGE9FG6QUWQiTz0TIasZaT0f/Gu8wQSn+KzB74PIaGEHsgnNzzO4 dlkFul4oQIRd2Hp+1ObVVU18lGU9H6OpQTlC9+TEE1/vPc2hm+TXjKM3mg/JCQ/kzPIO E+FA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=ZFMY00ZoLFnmbv5yJwZAmnXEN13uBvHZvDXnmdL8W80=; b=RO7dQ9E1Q1hEjuYH2+tVtDQZ1CaqboVRRbKLxRGyXNfPJTDw70XmJhCZy9IUr1Qyoc I6KHVC2BEWYo90pBK8cIOqw3oRNjvKGMjJFpBvLXJ1uJ90Q+TCh7qkaV2uG31Uy/i1gW GPZFzm7fDWlgMLsg04l210+nr7QKNZoSX6ihNssBs41XGyWvysBUW08iipQ7jx8ToMLo v4cCwNUTWo/P9i0wt/mhu31b/ZfmULCpnAIk4acQTUZT3kiHF8cIcsLv8F3AabTsPBBV plHi4tZbFqDwfCHlohrs760ed8AVR05eyPDigrN2OeG37EF02VgmadrZRUqKECdgtaDv QsKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b138si7811073wme.28.2020.05.08.07.03.44; Fri, 08 May 2020 07:04:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728095AbgEHOBk (ORCPT + 99 others); Fri, 8 May 2020 10:01:40 -0400 Received: from mga09.intel.com ([134.134.136.24]:21312 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727845AbgEHOBk (ORCPT ); Fri, 8 May 2020 10:01:40 -0400 IronPort-SDR: uzSvTKMEUVJMbzS4wGjf5EcyMp5i5ejLkOD9Z6qI6qtfYtelYxjtqwP+73Uci8PwRsGaevyrui 1H5kf/ppO/Tg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2020 07:01:39 -0700 IronPort-SDR: tyLSI9pNoX+sLzweinsTc8kCksLLnDn7G53YEFJasLjS/iKAb/GKJhocYPyIJt0XH8Fc8BDKqF y9O2NhzHgJnQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,367,1583222400"; d="scan'208";a="370495411" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 08 May 2020 07:01:35 -0700 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Fri, 08 May 2020 17:01:32 +0300 Date: Fri, 8 May 2020 17:01:32 +0300 From: Heikki Krogerus To: Bryan O'Donoghue , Angus Ainslie Cc: robh+dt@kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, nikolaus.voss@loewensteinmedical.de, andriy.shevchenko@linux.intel.com, garsilva@embeddedor.com, keescook@chromium.org Subject: Re: [PATCH v2 0/2] Add TI tps6598x DT binding and probe Message-ID: <20200508140132.GA1264047@kuha.fi.intel.com> References: <20200507214733.1982696-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200507214733.1982696-1-bryan.odonoghue@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, May 07, 2020 at 10:47:31PM +0100, Bryan O'Donoghue wrote: > V2: > - Put myself down as sole schema maintainer as suggested - Andy > - Fixed whitespace typo - Andy > - Removed ifdef and of_match_ptr() - Andy > > V1: > This simple series adds DT binding yaml and a DT lookup table for the > tps6598x. > > Its possible to use i2c id_table to match the 'compatible = "ti,tps6598x" > and probe that way, however I think it is worthwhile adding a specific OF > way of doing it and having an accompanying yaml as an example. > > Bryan O'Donoghue (2): > dt-bindings: usb: Add TI tps6598x device tree binding documentation > usb: typec: tps6598x: Add OF probe binding > > .../devicetree/bindings/usb/ti,tps6598x.yaml | 64 +++++++++++++++++++ > drivers/usb/typec/tps6598x.c | 7 ++ > 2 files changed, 71 insertions(+) > create mode 100644 Documentation/devicetree/bindings/usb/ti,tps6598x.yaml There was already a series from Angus [1] for this. The bindings looked a bit different, but I think we should use these, because in the DT bindings from Angus there appeared to be definitions for OF graph that was not used. Or maybe I got it wrong? Angus, is it OK if we use these patches instead the ones from you? [1] https://lore.kernel.org/linux-usb/20200506191718.2144752-1-angus@akkea.ca/ thanks, -- heikki