Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp4260475pxv; Tue, 27 Jul 2021 02:57:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8DOoEc9tXwJxqtXOMSmp3SSOUj4aRfm56U9H6qLeZzjjWyRrCUUqnIrdG44vZkDWhTbv8 X-Received: by 2002:a05:6638:410e:: with SMTP id ay14mr20728257jab.2.1627379873128; Tue, 27 Jul 2021 02:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627379873; cv=none; d=google.com; s=arc-20160816; b=TwfSmAt4lgASEDP4Enj+WRaT1wbsN63KtJC2LefKUFLwasdUyBwM2VKJ/gNLXbQSUr 868A46D5ltThc4f+lZWRfh6C+AFYhzGdTgdPp8cLrtUMy3LVttoC3GKe20yXp4UrcBK7 fiAqRNHRUc60+MbnFlGoqBWK6jC1qv73z67m9DO3n9agIfla9ftLWq47lmyDg8c4qP1s e1vXYZEY0bTvgsBb6soItPhEQNDid7whlEDw2tReosp+Db7Xd6wdlhxUby640q2OTeFQ 5IsTX8uZzlFyXe+36Vwt7FeghTN6Qudw5ZAJ2TimuTLo/1FjRG+5Y6LXXhshLtTBJms6 2o6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=mij9CFn51wUIIyFl2Gh2dBEt+qOFlfSFmHQ646Jvp6I=; b=rV8znje5FI5TKGrrV3vrGbnq9pIeUJL/Uv52dmYzJqznhuuv22xGBgAaDG+Gs8Q3WK nwU+wAQ5bqF859qUaUtyY6ZuhPtJ/6D/eRSgVkKdBryAD2hA42Yxb1rl8Ui8dJHwwLtT l2SKTTWWnOi+AKz5d1she2bhsVEA5NdSPX1njRDOW78qBVQOxjDtF9/+5LikllFZaKqr 4UlYTgFkE5Hx5tM8zlDcoYTocA2AnJpOXkCWXx4G1pRaZPmkA2qj8hI7hLPquJFJk7Ks su/bXvxnFq1D6ayl4c1dA1FIMWfgEcYtee+0cFq5Cxf2GwNQPrzoNdH2UuvI1cH0bPRq n0Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=BkodnMRm; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si2911514jaj.14.2021.07.27.02.57.41; Tue, 27 Jul 2021 02:57:53 -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=@protonmail.com header.s=protonmail header.b=BkodnMRm; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235950AbhG0J4h (ORCPT + 99 others); Tue, 27 Jul 2021 05:56:37 -0400 Received: from mail-40140.protonmail.ch ([185.70.40.140]:34974 "EHLO mail-40140.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236161AbhG0J4f (ORCPT ); Tue, 27 Jul 2021 05:56:35 -0400 Date: Tue, 27 Jul 2021 09:56:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1627379794; bh=mij9CFn51wUIIyFl2Gh2dBEt+qOFlfSFmHQ646Jvp6I=; h=Date:To:From:Cc:Reply-To:Subject:From; b=BkodnMRm2iMI9Fa6tKIBTPzqSvo74CGvv+03RTJX4lftiZecp84x0mwT63yk52bwt vpTE420oNHDmep41757iRekrGqjLJ3hR8vCRCj2FAbQdAPVFKABOBkOiGVdUKoXWf3 eLVW4KsC6ihT8wye6/YvOd/BxbBSP+mUv1JmjUwk= To: Michael Auchter From: Yassine Oudjana Cc: Yassine Oudjana , MyungJoo Ham , Chanwoo Choi , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Reply-To: Yassine Oudjana Subject: [PATCH v2 0/3] extcon: usbc-tusb320: Initial TUSB320L support Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The TUSB320L is a newer chip with additional features. It is close enough t= o TUSB320 so it works to some extent out-of-the-box, but for some reason it can start in UFP mode= which is not desirable. This series adds support for reset and mode setting for both chips, and doe= s that while probing to ensure the chip starts with the default mode of following the PORT pin. Changes since v1: - Split first patch into two patches, one adding support for mode setting = and reset on TUSB320, and the other adding support for TUSB320L. - Fix dt_binding_check warning: ../Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml:15:= 6: [warning] wrong indentation: expected 6 but found 5 (indentation) Yassine Oudjana (3): extcon: usbc-tusb320: Add support for mode setting and reset extcon: usbc-tusb320: Add support for TUSB320L dt-bindings: extcon: usbc-tusb320: Add TUSB320L compatible string .../bindings/extcon/extcon-usbc-tusb320.yaml | 4 +- drivers/extcon/extcon-usbc-tusb320.c | 164 ++++++++++++++++-- 2 files changed, 152 insertions(+), 16 deletions(-) --=20 2.32.0