Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp911700rdb; Fri, 20 Oct 2023 03:12:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFhN8XRPu/FV7YlLz9RYcQZ6O5MtSg2v2mKjqpxhByFq/S6N1hJZ2n4GVRxw+CNw36aZzZI X-Received: by 2002:a05:6870:9e0e:b0:1ea:6a7b:e40a with SMTP id ps14-20020a0568709e0e00b001ea6a7be40amr1804958oab.59.1697796727331; Fri, 20 Oct 2023 03:12:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697796727; cv=none; d=google.com; s=arc-20160816; b=t0MQup+L+u2UAr8+QD4RYf/cAeq0wGF7tFK8vc1TND9VAMUPUhBwt76dkGZqTLnadd 9E31U0hAuIm1Uf08ry11XWX7EMZNcmg/P9sM5sTzTyGIQSSGFtBRcToi4r5RS7Npt0mu asGaD7FO14PHDxKoZRCsIiLizz3WezNlRCUdHsVsTNDlvoSwEoI2XrpGqY+Ifu9NDhAs eGWthYLQm2iULSidHzrfIv93h4I+gj80xlWUYoqoid1gfwxfgDbrGJ8MaXwMhUE86Fga qaB415bcd9mAD57x6e9FerfHpKSm2wNaAZXGljoooeoG/U7XRM6YPiamml8msQ9/hTll 6w3Q== 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=wBM6ErArjaeuBbIlwBAlMfcfi+6e43gtVVtakkQbEgY=; fh=ghpUNpHqcNrQIocPjfnwe/5quPeBE+ramd9T7xbSKxs=; b=co+QMERWjc9NOnwOnvkKegCGnCQljXN8rwBaets2Ka3uLgAnWd1TkRCqudbXkEyLf0 w/Iro3Uc5XKfkErjyRrkXePhSwjbOdT/qpq/boa/9S6UrdDCCY+Dmc4d4kSrN7L/mGFz yq6pl7uqCPTW2eYRJaR9cQmtzlLTUckS0GQ8PfpeOHgxAu0xNiW+Hnao6vPlCIRnTdhq kjYXod7dHlyUJ8rEVicQ0CgmN5MCrUEkSv48GWoUfKdyjGpdJDyhyZOjLM2vhMINF5JS QoCSTxpWhGzp22is/KiEd3xNwFgea4ZA29s8RlpPotGyX95KYNtlpPJwMgUG1k0Fi7I9 HBlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=aBYf6lF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id bq2-20020a056a02044200b005aa41728293si1645119pgb.318.2023.10.20.03.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 03:12:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=aBYf6lF9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id A2D5380ADEC6; Fri, 20 Oct 2023 03:11:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376937AbjJTKKQ (ORCPT + 99 others); Fri, 20 Oct 2023 06:10:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376859AbjJTJds (ORCPT ); Fri, 20 Oct 2023 05:33:48 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 637C719B9 for ; Fri, 20 Oct 2023 02:33:28 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-53de0d1dc46so836505a12.3 for ; Fri, 20 Oct 2023 02:33:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1697794404; x=1698399204; darn=vger.kernel.org; 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=wBM6ErArjaeuBbIlwBAlMfcfi+6e43gtVVtakkQbEgY=; b=aBYf6lF9OSoYYDPCHhRiksf2aJVMbKAK+E69a1WdAN9bnaaEF2vOud7VRVAQScOcna 6CoYbcm+aCLtPOhj0aqPuc+yTpwpjrjFDptuxwPcrECww+bGFiirr1ua/4SVesOU4mnl tQvt7tLPg5AuVLyLc2JYLDwZvlo5RIblVG4YDfy/6sI/8Scq6htvmmyXwqsinRnCy3Ys IHGXUDg31gx65gHdLLqHO2Is1MaOSkrp5ZfMRSPk8yfrY84AHVZBROpoKScHxJylCUMj Bz0ywNAd7vmBE0S44ERwaS+akUeITa8Q+02bzzlIeNppdyArdQSG75KpP6V0E3hYutsX fJ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697794404; x=1698399204; 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=wBM6ErArjaeuBbIlwBAlMfcfi+6e43gtVVtakkQbEgY=; b=B/VvDyjWgcDnB/EkTjQ3Rnaj4Sg3AQAEawp/iEd1hcfE7Yyw3ZiNuHwqolzCzXuo2P l3YO97sGnCAoY2pFlVh8cfnrah79CBaONhObIyZYVZpXe8Xq40SvYJDZRQOwh3X0wjjp N5f8SD7QW9+sAu5C3f8a9LromuKickLSlAlzlr/SxGr6ncYrll+nXzkX7+O9iwYpLsaV DBunYWm2iXGk5VcNtkP5x8QyaZheBrRh59kmUTObjX09x0DdF/jVZXFaT5r+2Vn1n4vh 4WEKLdb1VenP5XhPTblAgJHI2s/PnwarwUOoqD9fVODNU0wF/eqx9bmw9rz3KW1xhMfd xPdw== X-Gm-Message-State: AOJu0YxuTvKY6Rai4adFxzdXx36CD5whBvzfT6HRrPF/nmfXzwSZjCm5 WxaNYBFTLHFrOsdASj8Mb3x7EQ== X-Received: by 2002:a17:907:786:b0:9c4:41c9:6ac6 with SMTP id xd6-20020a170907078600b009c441c96ac6mr1006182ejb.33.1697794404139; Fri, 20 Oct 2023 02:33:24 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (k10064.upc-k.chello.nl. [62.108.10.64]) by smtp.gmail.com with ESMTPSA id t15-20020a1709066bcf00b009a13fdc139fsm1102535ejs.183.2023.10.20.02.33.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 02:33:23 -0700 (PDT) From: Luca Weiss Date: Fri, 20 Oct 2023 11:33:20 +0200 Subject: [PATCH v2 3/3] dt-bindings: usb: fsa4480: Add compatible for OCP96011 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231020-fsa4480-swap-v2-3-9a7f9bb59873@fairphone.com> References: <20231020-fsa4480-swap-v2-0-9a7f9bb59873@fairphone.com> In-Reply-To: <20231020-fsa4480-swap-v2-0-9a7f9bb59873@fairphone.com> To: Heikki Krogerus , Greg Kroah-Hartman , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@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 agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 20 Oct 2023 03:11:16 -0700 (PDT) The Orient-Chip OCP96011 is generally compatible with the FSA4480, add a compatible for it with the fallback on fsa4480. However the AUX/SBU connections are expected to be swapped compared to FSA4480, so document this in the data-lanes description. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml b/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml index 86f6d633c2fb..f9410eb76a62 100644 --- a/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml +++ b/Documentation/devicetree/bindings/usb/fcs,fsa4480.yaml @@ -11,8 +11,12 @@ maintainers: properties: compatible: - enum: - - fcs,fsa4480 + oneOf: + - const: fcs,fsa4480 + - items: + - enum: + - ocs,ocp96011 + - const: fcs,fsa4480 reg: maxItems: 1 @@ -53,16 +57,22 @@ properties: - const: 0 - const: 1 description: | - Default AUX/SBU layout + Default AUX/SBU layout (FSA4480) - AUX+ connected to SBU2 - AUX- connected to SBU1 + Default AUX/SBU layout (OCP96011) + - AUX+ connected to SBU1 + - AUX- connected to SBU2 - items: - const: 1 - const: 0 description: | - Swapped AUX/SBU layout + Swapped AUX/SBU layout (FSA4480) - AUX+ connected to SBU1 - AUX- connected to SBU2 + Swapped AUX/SBU layout (OCP96011) + - AUX+ connected to SBU2 + - AUX- connected to SBU1 required: - compatible -- 2.42.0