From patchwork Tue Mar 21 22:12:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 73091 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2036657wrt; Tue, 21 Mar 2023 15:14:49 -0700 (PDT) X-Google-Smtp-Source: AK7set/9JwVJTVkfBDdvG4p13+FOsWgSchsQFQLOO/sP27qeKVVoxqqXJ8RvpsE7/gB0fkf9iVLw X-Received: by 2002:a17:902:e405:b0:19f:1c64:c9ca with SMTP id m5-20020a170902e40500b0019f1c64c9camr519996ple.49.1679436889030; Tue, 21 Mar 2023 15:14:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679436889; cv=none; d=google.com; s=arc-20160816; b=yMbwcD7HhlD7Z0WHncymQTyn8pZQ0IcIOADojnVKnJBaJXZF+atko2rEPIG5Ln5wOU 0AfRyjB3Bd4o2ivlpvoL1jAl7fjxdLTIb9WUv8McOyEcqCAkoODESw1YEfx1WRK9NIHt B1UrAEL6yewkntjNlmyeVeGf51P807V9SRdOUCMoL+YvElMIR0gqcqTtqCY0i1QSqLYL lzdYLtWQd1rk+s6fhAzWzWfsuo7t+AmrMAE2UhIWY9909RqiMaqUsiSnG147eh2K60aN YVQ/6tmItRAEV6xKwl82IOOTKeHQlLr6bOrTt6pZQG+JS1Kup7ICAHenVuoRLkVwN7B6 HEzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=BCUJY1Hh2EModZGNwH3Cf81RyZQkzt9KGfduADVwZqc=; b=CD0Rj43zIuyOz/u+59iPRmb1g0TW8saoJ8yXAosVoSQ0ZHFVSRaZt2s49KgpXUU/Er mmEPBRaVXsgtfJZFzPJ+4CccI/AJLLJowfq3dGrsLEUhuzoB43wmWFxVe4JyhpVjeF+r eMlpWbnKPHoFg0Zqcxjp4LZk666g1TKVGB+jsjWuWiGNjDuvkXuQe45eqEX8FnE/Me8Q EN3qjzpuaZqLhCy/7LZCdSYl5n0TftEj8m5E2pg/giHEEZALgKzcLan5EyiZPPAX69bC i3Z8xFPfXKndt51T0z4kZWAaWoWpN7Uf+u//KjaYJcih9UOuF+545+ogvML9feawQyL6 mTIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hLPidQvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf6-20020a656d06000000b0050be692a718si14586274pgb.530.2023.03.21.15.14.34; Tue, 21 Mar 2023 15:14:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hLPidQvG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229835AbjCUWMx (ORCPT + 99 others); Tue, 21 Mar 2023 18:12:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229945AbjCUWMu (ORCPT ); Tue, 21 Mar 2023 18:12:50 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94BCD570AB for ; Tue, 21 Mar 2023 15:12:48 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id s8so20715761lfr.8 for ; Tue, 21 Mar 2023 15:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679436767; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BCUJY1Hh2EModZGNwH3Cf81RyZQkzt9KGfduADVwZqc=; b=hLPidQvGUMB5Bz3P75QcMGu89KyHxGgata9Yb0577gCwAgqVZaOj9u6vWxMs6ay8Yz Bs8ShjszRic24iBvTcdihJA0ihybRFyZQIvf44G38klno8DOTDuD18lom2rOLum+fUyQ f/VR8xzcG4cdlMLSXxEJeyqjXJuswiIv8we1LFGE4AzB3Nh7nRQmSqkow4DKT1aupg2l uOyLYc4ev9TyFa1aLFnR5YUD0CO2WVwRGT+8ARLF8D6UxpkzYsRwKPVtbFjnQlFSfQAQ cJ6vDQT0lW5PlnKT2RcFxA4cLBmLueFd34L28A/x2K+nGPSkYPBnk+8Oo14FaJThYVHP CXqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679436767; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BCUJY1Hh2EModZGNwH3Cf81RyZQkzt9KGfduADVwZqc=; b=fXIXVXq7I1OHAMuujVNgEsrvdOjzgwgfqPO7+AssMu+/cdoWImW6pCT/DKCnlx4CN0 SiUy8gVqJQxTwYXBsog8aUtgDYM60pyOl43ZDhmRwyPGzf2C3LcGTLmCZLvAlBrY/YW8 mhznRac+rqUF7EqLQxAx2Non875le8DIo9ukKtN/pZjQpFswAN17NEiVKYYmPcMXKgx/ zps2L20fYMz8E8tLf3odsFLO6TRtiOkNkNUkK/HVqpueS4I6A0D0QKRgsZiOHH210rAr SOfoOqkjqySkpaJ1CitnLf0SvUiazP9+2TD0DhA7zI8Vxss98Nv1agmhAsVDvGm1bFWH 3Iag== X-Gm-Message-State: AAQBX9cMHvNOfEwwOli5bUAf1uL67nItchMiUwr7o2pnYA3sFML7vVG9 Ty4kEyAs5t/9id6iK66sMqlgIA== X-Received: by 2002:ac2:4116:0:b0:4e9:6097:add5 with SMTP id b22-20020ac24116000000b004e96097add5mr1363441lfi.66.1679436766836; Tue, 21 Mar 2023 15:12:46 -0700 (PDT) Received: from [192.168.1.101] (abym238.neoplus.adsl.tpnet.pl. [83.9.32.238]) by smtp.gmail.com with ESMTPSA id o15-20020a056512050f00b004e9c983a007sm1220344lfb.289.2023.03.21.15.12.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 15:12:46 -0700 (PDT) From: Konrad Dybcio Date: Tue, 21 Mar 2023 23:12:28 +0100 Subject: [PATCH 1/4] dt-bindings: usb: gpio-sbu-mux: Add OnSemi NB7VPQ904M mux MIME-Version: 1.0 Message-Id: <20230321-topic-sagami_dp-v1-1-340c8bce4276@linaro.org> References: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> In-Reply-To: <20230321-topic-sagami_dp-v1-0-340c8bce4276@linaro.org> To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Andy Gross Cc: Marijn Suijten , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1679436764; l=1173; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=hofgD3Pg2Wl7Hj4Cs3d2T2t9S7MypKBJJexKG0UTF+4=; b=FVYoL7k1VXDlpelZPfqkyTov5Jj9u4GO0zOfomLqGzPF/uKldcr7iBGllsbkkxNRgpSUK0ceumzo oUlkCHjkB4nxKbFPnVXNCPo3IIkpw6mxUGewhAwXAVu6P6CDhu+8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761017215173529847?= X-GMAIL-MSGID: =?utf-8?q?1761017215173529847?= The OnSemi NB7VPQ904M Type-C DP altmode redriver provides SBU signals that can be used in with the gpio-sbu-mux driver. Document it. Note that the -mux suffix is there to indicate that the gpio-sbu-mux driver interacts with the mux part of this otherwise quite sophisticated chip, leaving the "onnn,nb7vpq904m" compatible free for when a proper driver taking care of all of the chip's capabilities is introduced. Ref: https://www.onsemi.com/products/signal-conditioning-control/redrivers/nb7vpq904m Signed-off-by: Konrad Dybcio --- Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml index bf4b1d016e1f..a7206009b691 100644 --- a/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml +++ b/Documentation/devicetree/bindings/usb/gpio-sbu-mux.yaml @@ -20,6 +20,7 @@ properties: items: - enum: - onnn,fsusb43l10x + - onnn,nb7vpq904m-mux - pericom,pi3usb102 - const: gpio-sbu-mux