Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp997294rdg; Fri, 13 Oct 2023 07:25:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGhhe/9YMy6cs9Lq9ZkMxXR+4Lt7yqteC3cepu6CY0C22y4g200zmNa7IYSO2NkPWlmnnsQ X-Received: by 2002:a17:903:41c1:b0:1c1:f6d1:3118 with SMTP id u1-20020a17090341c100b001c1f6d13118mr33583694ple.27.1697207156660; Fri, 13 Oct 2023 07:25:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697207156; cv=none; d=google.com; s=arc-20160816; b=hia56Hpq4jdICIGMPjtfLAHLINXttYEIpaijAGYigvR3izXSGOtD37GBM1EV70Iw2+ yxN6BcM27vYempCpaVOxSAcIQkN6qBgIaC2qhJNgib2J31Cny6bkxGz8uwfw3VjA3iJl +D4MukFVuT5/a9p3k1y8Co7o6NSXw2UDS+srMToQv+WM1adtTX8ZqyDRFDoa/2H/yeYs RBJYSGq/AlPuuuhX9ZNp01Vhmx20/8e8JEKLRkhaWZzgSlxg+e+jlUf60GYg3OoBet3R px3oIlfeodE/eeBcCU9Hjwi76UotXBJcqIV8RDCDrBnb2jDg4fGqcA2ljewPcXzkOkmu vKtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=eVIXIq/Rm+SyJ1K4MPb2o9/YrrlOkItMvHUn3gP+p+M=; fh=TrJ7bhIcY5I2XU10ce7ir5F6EjOezYVNk+TamR8A+Wc=; b=LwHhxNVx/tWmmSHqUZ7ZOFkcEnrV48GETzt6fhtuyAXrmFSbabSkST1M/bo+N861DM ozFeFFo4ANG6TcolMgEBy+3SJOW2y27ckeiGC0we6VCUpm6wGJQuD65EI/Mc5OH622dk iyQEeNi5dTwwV0ryW89VOutN21wmMzf6y8YtUaIoISWVlsTlp9kIDxrORQnDzJ+s7EBc GlXOqZswI2WsgPmzK8A/6DFhV1CvfGHQc/TA8wH8dAr5WDS0ubnDf25EKRcEtbgEkQ/W odnfe/mzN5shhnIjdFKLyXu+41f/cNrx4debsyU9X1OGBYoV+Y03FZUbaLAUvjV41Aj6 aFJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=2+hII2Ff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id q4-20020a170902dac400b001c9e680c178si3242230plx.394.2023.10.13.07.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 07:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=2+hII2Ff; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 189068065CE8; Fri, 13 Oct 2023 07:25:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232130AbjJMOZI (ORCPT + 99 others); Fri, 13 Oct 2023 10:25:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232140AbjJMOZG (ORCPT ); Fri, 13 Oct 2023 10:25:06 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ED29D8 for ; Fri, 13 Oct 2023 07:25:04 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-9ae2cc4d17eso361157066b.1 for ; Fri, 13 Oct 2023 07:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1697207102; x=1697811902; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=eVIXIq/Rm+SyJ1K4MPb2o9/YrrlOkItMvHUn3gP+p+M=; b=2+hII2Ff7yQE1F+kHz7eaq+T9rEv+0RPXVQQ2GIZ8DFwPX4Ja3L1ypr6A0L7pVsJ1A SXICGxIdinIlXXiH7lMP2tK7iN+l7W8rQ683YTEMwrhvhnG58HecBgymRiSDAjCloQL5 Uz/d+RhHk6JwLJNL2g+1PRqFr4qMVf/XDFhV+Z86L1N00vRsF15ptHJqphODandPRP2o YBcltQXbzIQ7ePPYAzKhGHQO7zU4S/Q5g1PKj+Pb5xucAMUHbhDIc1atA2FqN9ianUD5 yL0YsVwPeob4MPnptj2t1QmcBS/uWOLFmJSEpg0xi3LG0TWyyvyZC2Fnel278L9RmlTI 6kWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697207102; x=1697811902; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eVIXIq/Rm+SyJ1K4MPb2o9/YrrlOkItMvHUn3gP+p+M=; b=lxIQYBf/j7sQ3XhFBmDeygEzmsGmMak/IigNAgiUT1eGeVU61Er9soPo6NSM+U2+EY va2AFh+9L5kpzcEFhZgPiUk2kQoeifmGTHwtk+RI8S291WKlaUQf+tpBMmya0Kul6piY iouuq5Ip5kUMz8abFUByFQO2F1PEu1mRZ7eI8vg/cydYps1f6q0RRHXyiQUSneKpJrWd qwp2KGRxVCa45Hjh0Dq5s+oC2GwRhYeVd2lVS9ZEiu8nK93f4xfMnVn3lkeToaoNIO3Y YUcbBPUxEbMMDKLeHR4WihqN4Udq1KaxWVEg1o7riSQ76R7N+ozgPPdq5MQ4R3EhGGn2 hilw== X-Gm-Message-State: AOJu0Yw6AU25oWJt4Q1tVtfxuW/3LIfW2hGb4cZmikWWMyZ+Utpt+6Zp 1Jb1Zq/8rqyiFp7NIv8jrurhtg== X-Received: by 2002:a17:907:2e19:b0:9b2:c2a9:357a with SMTP id ig25-20020a1709072e1900b009b2c2a9357amr23293471ejc.68.1697207102578; Fri, 13 Oct 2023 07:25:02 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id ot21-20020a170906ccd500b0099df2ddfc37sm12412041ejb.165.2023.10.13.07.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 07:25:02 -0700 (PDT) From: Luca Weiss Subject: [PATCH 0/2] Add driver for NXP PTN36502 Type-C redriver Date: Fri, 13 Oct 2023 16:24:46 +0200 Message-Id: <20231013-ptn36502-v1-0-98109a430efc@fairphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAC5TKWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDA0Nj3YKSPGMzUwMjXdNEC/NUUwPzFGOzZCWg8oKi1LTMCrBR0bG1tQA UkoV5WgAAAA== To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heikki Krogerus , Liam Girdwood , Mark Brown , Dmitry Baryshkov Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 13 Oct 2023 07:25:54 -0700 (PDT) The NXP PTN36502 is used in the Fairphone 5 smartphone, add a driver for it so we can soon enable DisplayPort over USB-C on this phone. Signed-off-by: Luca Weiss --- Luca Weiss (2): dt-bindings: usb: add NXP PTN36502 Type-C redriver bindings usb: typec: add support for PTN36502 redriver .../devicetree/bindings/usb/nxp,ptn36502.yaml | 94 +++++ drivers/usb/typec/mux/Kconfig | 10 + drivers/usb/typec/mux/Makefile | 1 + drivers/usb/typec/mux/ptn36502.c | 421 +++++++++++++++++++++ 4 files changed, 526 insertions(+) --- base-commit: e3b18f7200f45d66f7141136c25554ac1e82009b change-id: 20231013-ptn36502-5a87e507d36c Best regards, -- Luca Weiss