Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp100329ybj; Fri, 8 May 2020 07:25:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUrStu2fjXzgWrFb9xUNrAGK8JqI4mOkoiTsV10nhHVhD2D/eRhPT2+Y2ABZIbJ1ppR3GC X-Received: by 2002:a2e:700b:: with SMTP id l11mr1970658ljc.255.1588947914792; Fri, 08 May 2020 07:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588947914; cv=none; d=google.com; s=arc-20160816; b=lhDWyiQ1SNlIwkOGJMO/qeB0fMoJ0R+9vbSOevFyvD+2cd4PoO6OfedYSFMHJ7N+NR W7YK079Uq4nks3j1QQOreKyQFhG+wa7Zk0XGPJWxq0qCoi+3tua3TNqxlCwU5y1uznqv hyDAED4hxSiJcuK4W09G3veumBFgSdtCijGasOM43Crv1hox4eEgozcWo39r/Y2Vr1F2 jZiqMoTkzc37o5hI0tit455ygh/MltKHB5Fvl4LdErU5UCUsHf53YCX8Sc3dUkarZL+H A/g/n4wWd+eusc1b8v+D1iNRLQuIgf60QjXJViG48tLEndSArK7ry2SfIzaEHb3Vv8wE SM5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=0jec+jyyIGui6THZvYPbXVUAbTgjEq58la8/fReMJWA=; b=BoDgXDTqdZ58tJZKZNh5iODFL+ekOlCnGLc0q9X9zgrlXYjOkxg1LI2PuIj9u9+RUE 45pz9zoX1tTKNvhlQ9wVgNJVSTWhL3CgHdMM4WAkH6eJUPKgIqyva7QLJ74XeAXtxUyV nxKTYLzgpru3IRo1qkLwNIGydUgN+s+aUB+gq+No6sjhuC5Z3k0NAIIQjU4VcSzsCioJ pLc901ZxkXcwdzd85iNPrKxnp6XFfZmcyczyJyUoR3PBTcEHYe1l/yM6uUVEacBgVsyA co8gcgn3jlMJhYiINAYrIecZe5WxTmboXP42SWIYLdTxu7mT3v02bRncV3P2wyTraoPG 8iGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@akkea.ca header.s=mail header.b=pDY0Fio+; dkim=pass header.i=@akkea.ca header.s=mail header.b=pDY0Fio+; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si1528667ljj.133.2020.05.08.07.24.17; Fri, 08 May 2020 07:25:14 -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; dkim=pass header.i=@akkea.ca header.s=mail header.b=pDY0Fio+; dkim=pass header.i=@akkea.ca header.s=mail header.b=pDY0Fio+; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727981AbgEHOWZ (ORCPT + 99 others); Fri, 8 May 2020 10:22:25 -0400 Received: from node.akkea.ca ([192.155.83.177]:42034 "EHLO node.akkea.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726636AbgEHOWY (ORCPT ); Fri, 8 May 2020 10:22:24 -0400 Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id A53EE4E2006; Fri, 8 May 2020 14:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1588947744; bh=0jec+jyyIGui6THZvYPbXVUAbTgjEq58la8/fReMJWA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=pDY0Fio+N/ZYSgp4G4IWyN95erGxxsyJfMdlBlOBX8vIOX5l5lTiFQQKwW32teAun q7OLwm17UjAt7C49CYljidwoSF/byO56pNx3TC0iMsQhB6FV/GQvtvXDh+xmycEid7 qjf/tAdA31ybShvUeoJgF8A0c2SK8ZZbBc2lzfmc= X-Virus-Scanned: Debian amavisd-new at mail.akkea.ca Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nL4lATXDCIRE; Fri, 8 May 2020 14:22:24 +0000 (UTC) Received: from www.akkea.ca (node.akkea.ca [192.155.83.177]) by node.akkea.ca (Postfix) with ESMTPSA id 0751C4E2003; Fri, 8 May 2020 14:22:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1588947744; bh=0jec+jyyIGui6THZvYPbXVUAbTgjEq58la8/fReMJWA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=pDY0Fio+N/ZYSgp4G4IWyN95erGxxsyJfMdlBlOBX8vIOX5l5lTiFQQKwW32teAun q7OLwm17UjAt7C49CYljidwoSF/byO56pNx3TC0iMsQhB6FV/GQvtvXDh+xmycEid7 qjf/tAdA31ybShvUeoJgF8A0c2SK8ZZbBc2lzfmc= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 08 May 2020 07:22:24 -0700 From: Angus Ainslie To: Heikki Krogerus , Bryan O'Donoghue 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, linux-usb-owner@vger.kernel.org Subject: Re: [PATCH v2 0/2] Add TI tps6598x DT binding and probe In-Reply-To: <20200508140132.GA1264047@kuha.fi.intel.com> References: <20200507214733.1982696-1-bryan.odonoghue@linaro.org> <20200508140132.GA1264047@kuha.fi.intel.com> Message-ID: X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.6 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2020-05-08 07:01, Heikki Krogerus wrote: > 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? > I was trying to include optional components but was not sure of the syntax so that might have been wrong. > Angus, is it OK if we use these patches instead the ones from you? > Yeah these ones will work great for what we need. Sorry Bryan I didn't realize there was a patch already in progress. @Bryan, I'm going to send up some extcon patches for the tps6598x soon but maybe I should check and make sure you don't already have anything planned there. It still needs to be retested after cleaning up but it's the top 9 patches here: https://source.puri.sm/angus.ainslie/linux-next/-/commits/next/extcon Thanks Angus > [1] > https://lore.kernel.org/linux-usb/20200506191718.2144752-1-angus@akkea.ca/ > > thanks,