From patchwork Thu May 7 12:23:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 11533429 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4737F1668 for ; Thu, 7 May 2020 12:23:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 300EE2186A for ; Thu, 7 May 2020 12:23:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="v5Rqr2r9" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726807AbgEGMXV (ORCPT ); Thu, 7 May 2020 08:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726408AbgEGMXV (ORCPT ); Thu, 7 May 2020 08:23:21 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1BC4C05BD0A for ; Thu, 7 May 2020 05:23:20 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id y24so6602751wma.4 for ; Thu, 07 May 2020 05:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ac6yE481fJDZ3o9Z63NMImFTDEyD3V8+Y3qKCMgWoPA=; b=v5Rqr2r9F+ff/FgvWLYFXpvnWQ6PGMIskO2UNNWwl4mAJXltqPslWgaZU2FN5YxE7l ES+Hl2QFacSzmjj05ohmJFSUlkQCB7aUHhDCBfaxUKlrJK6v8HfWsaCgL+r9cbuxtpFw JrboIZoWJjq4QecAkJ572bEkpx2iKXv9FYPZD94OoqA9gy0kN2jH+HJ7RSMUHls/jkxi V2Xs6Xvgn2NII7MFBOaaZJC5cpCM45m5s2mDOq0mUBsprBIY1m6CBcKTXNeLjpOSyQAq Fz7ZcaPUGgafuneVY3Jb9gTBZkphqwH1bVVZzGHEch4DwNQDh9KUG9zB1pz4LkCg2y9q thYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ac6yE481fJDZ3o9Z63NMImFTDEyD3V8+Y3qKCMgWoPA=; b=sNBJSCcqnLe9sLBs3xswgv/7MPLQc+Bz4BnPlJOGtEjh/PnpeoqwlFcBBrUTYcmSWX vaR7Sd/y38PpeDx968eN2dBdgeCSRsJ647T45Ow0bYKkdk3/O3BIc1oFXtABVNUVVeB9 OtwQnUEZC4165D2/JHUvaUnBAc1/VMa9exz+KzR4yKrojUUqoJeIgjz4QQSldknd95EJ 23QKeKfS1OuNW+DXeLwZ0E7trDIHTaazwCt8V5lKJ8hEUn8rwmmHYhLjfXrASoyft6+H RwaGImb/OLtNUFEOrsf1gi8+28gpTmAhCVc87vMkcg6vuCRz4jgwdjK5XfEl1wvxszoE bp5w== X-Gm-Message-State: AGi0PuYhr6HpzjjdlpD7jEsjMH/bJn06H9EEexUM/Ov1ZDUUqHIoON7K EtdGcSrLNG8TAihPZ1ETCc/lmA== X-Google-Smtp-Source: APiQypLa2PmQTZ6UH9IRltoQ1UhHVIeZ6p3mcU1yFPbZDLuUORULrSexDujKp3d46J4m15kiQTVENg== X-Received: by 2002:a1c:a5c8:: with SMTP id o191mr10616291wme.77.1588854199140; Thu, 07 May 2020 05:23:19 -0700 (PDT) Received: from localhost.localdomain ([176.61.57.127]) by smtp.gmail.com with ESMTPSA id p7sm8202936wrf.31.2020.05.07.05.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 05:23:18 -0700 (PDT) From: Bryan O'Donoghue To: heikki.krogerus@linux.intel.com, robh+dt@kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, nikolaus.voss@loewensteinmedical.de, andriy.shevchenko@linux.intel.com, garsilva@embeddedor.com, keescook@chromium.org, Bryan O'Donoghue Subject: [PATCH 0/2] Add TI tps6598x DT binding and probe Date: Thu, 7 May 2020 13:23:50 +0100 Message-Id: <20200507122352.1773661-1-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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 | 65 +++++++++++++++++++ drivers/usb/typec/tps6598x.c | 9 +++ 2 files changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ti,tps6598x.yaml