Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp119182ybj; Fri, 8 May 2020 07:51:08 -0700 (PDT) X-Google-Smtp-Source: APiQypIpG9Iuy7z+gYkGayvVqwO/emSXFs8YbQmGKS8Q+psGXqP1S6giF7iJgV4brNf+BEM2C6NJ X-Received: by 2002:a05:6402:1d02:: with SMTP id dg2mr2454751edb.5.1588949468721; Fri, 08 May 2020 07:51:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588949468; cv=none; d=google.com; s=arc-20160816; b=nkFbIvH+Jy/XgrEVx3vaJ1gR2JVwmoAZWhaHfM5UqFa6+nusj8fso/JFWN8ND9jbTe HqiunywthCmfa3WLOo3acRrBd4lwQi8o3Pj2v5s+9emSP0Kavnu6aXTjFAxkYSc/mCji qdhLTomfSg52qsTHF8mvPPfGvTAvNtWnQeZhrk8ApWmhsttS7aXwWjT2gNtKAvqD0muO /AcYj9G6RBLXkvlRZdLJg6i6hPJnT0EXOegEqu2aGTAhBq85asK/1zfAbtKDk+fpnXHo ++iYVLZPjRjOV3X6zTciqZEcX1UkwAMg3aLiTQ5fyKWrdFI0fnjOjwyIRayTSshBdmha iyeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=ItCLlAEcrRObJaFc8zjZZAyKUelFuntamK73qSCmQaw=; b=Hu1fbSPuw9fEa+aPDwkIbKioFBYWs/8m+fXevU5Sckh6JEwLHy6v+dM+U6ErW3Rw5V KAekN/yqrfqqa9jPUWkqQCdP6RIwuavaAheLpPWeOET/7n99FfIJxyLds8lu4Z1coM0L CsptVb+HVb2AKoLjNtywLwjzhaffvgh7Ytob620QlB5cM+l2oqISjGywdoAF2TNFVtKa mTAXlMVcklM+HFV4NJ/QNfABgpSeG1Ldbaimw5iebO53cq24d8kVIFlL965T1QrAB8Gc WGnv8AzeW/FMXoh7BB3JQdHZ31xXeN2npsiyyks4QHNggMhPXVMCjX/yu+2uvirwxUUA wQ4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YgqZnB4R; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x23si1057143ejb.130.2020.05.08.07.50.45; Fri, 08 May 2020 07:51:08 -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=@linaro.org header.s=google header.b=YgqZnB4R; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727983AbgEHOrP (ORCPT + 99 others); Fri, 8 May 2020 10:47:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbgEHOrP (ORCPT ); Fri, 8 May 2020 10:47:15 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D21FBC061A0C for ; Fri, 8 May 2020 07:47:14 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id m24so857972wml.2 for ; Fri, 08 May 2020 07:47:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ItCLlAEcrRObJaFc8zjZZAyKUelFuntamK73qSCmQaw=; b=YgqZnB4RuOjA//ot7PQ9SM6mgul9T3GJZb2JM7reEJLe+IRa9O5JM4sxrsNjR0uFU5 1aINbi0xdDymbSd5NMRFOAUlhkiZJSJ5H/PBCFPow2nrWSbHP9TCNEs0b3CAEhZ0MXZm 9iFJA99yXpzPTA8APDAoSVseaZx4zuWd4cjJRy/zHxouAK4ksI2q606UQp9HBOGcQTI5 eGIf4zd7it3921mtpnBZIUzqmY9LEt97yFkyyPjm2/oDOpCMsQMexnCP9NeAmYWCvqtM HxhYnwelmI7R0hy/iKmgG0GdsTXOr/iGOlui5Wd4IXLYn1PXIGySXBQzfSR5VdEsiMgN VtVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ItCLlAEcrRObJaFc8zjZZAyKUelFuntamK73qSCmQaw=; b=LxU5tVEUVQa5GIE9VY6+SU7Leru/GYFaFb8QH6+fB3NT8BmAujYAP8ClIFGodFxBW4 jbr534EiFhXh2elHXs3UuHBkhJrHYbN9XHSrNx/SNotg6KJwB8nGkhsU8u0QTocbhPEg h4cvUa01i3Omlerdy3D2hii9LNRSha0aalOONjtn+8c7vNEje88Zk3Mk42FlUOsFRq84 bUj9Esp6Ebl5QqQLtvx9qO2/L9bB3xp+s0VZ2iQDwVlhD6Pb2iilI7lN8UiNeET112oA x+cJl8j4jLwum4RT9+k0PqlsJNWs/mGMkWTtQgbBGVckN1RsVbDPOXilpD3DpRwcutGB 1BsA== X-Gm-Message-State: AGi0PuaX+2MS5CB0VomPGQWH+Wr5cqAN/+Y5KKQM77Rnha3gCXAoWR7R GaAMIWn2G0Z4ULaBWyhUtFbjNA== X-Received: by 2002:a05:600c:224a:: with SMTP id a10mr17413046wmm.174.1588949233557; Fri, 08 May 2020 07:47:13 -0700 (PDT) Received: from [192.168.0.38] ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id w18sm3344636wro.33.2020.05.08.07.47.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 May 2020 07:47:12 -0700 (PDT) Subject: Re: [PATCH v2 0/2] Add TI tps6598x DT binding and probe To: Angus Ainslie , Heikki Krogerus 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 References: <20200507214733.1982696-1-bryan.odonoghue@linaro.org> <20200508140132.GA1264047@kuha.fi.intel.com> From: Bryan O'Donoghue Message-ID: Date: Fri, 8 May 2020 15:47:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/05/2020 15:22, Angus Ainslie wrote: > 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 Makes me glad I didn't try to touch the PDO stuff :) That series looks fine to me. The only other modification I have is here. https://lore.kernel.org/linux-usb/20200507215938.1983363-2-bryan.odonoghue@linaro.org/T/#u which is about data-role switching. --- bod