Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp892960rdg; Fri, 13 Oct 2023 04:39:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFFoWy15Fvbi5Bo4u1pXYfoJbptiYus7L+aX6BnZwyKb2VRPydoS1nOYnHRaJn18BRnUjpf X-Received: by 2002:a17:902:ec88:b0:1c9:e2ed:66fe with SMTP id x8-20020a170902ec8800b001c9e2ed66femr4211351plg.52.1697197143711; Fri, 13 Oct 2023 04:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697197143; cv=none; d=google.com; s=arc-20160816; b=SxqdaU4ClyeJALlyyeS0RBMgAXQ/rf+6dBPpbfsskJrAaaCpD0dBuiCOr5qnA2M62S Qjs2aJ9c+3tSbBs1VW3EqbXFLL1DUhjDqkqKJufpxNlMKorQYh3thvzaqnwnzHT7MgrS blnlSr7MC3veiUCo67hG5CgoWqI/5pisK9qLa7Nqq4bM/vkqMXffZ2sOQeumd7bCck/5 +F22VJLcBlKgYGvKyl6iA9ytrKUAG4ItZ3uyqEkXlSGrDzzvkM9KWg7fLSKJkGcFsIW+ 9i0mHPZCNLbe6hqFBWrFry0exiH06tNjrey1AttWgbKelevb2s/CUp/thSXKS6Ehqwih 5DGg== 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=WZQqIma2/D89J00/15jRjnjcnY2mDBKtCpR4bOndJ6j9HuQiiLiJW9Bn3kpBXlF+R4 +B2SewLFPgHhYh/KKbmsPg5wVPvZd/VkHKpao3J0ImrbgMA4bB8UZAAaJ+7BnG0qnMdW tkdmmV2Lk71HpSw1qtB3FeKJa/H8p4hoVXs2qbsOTNlw1a6sJfK1GGQQSMI039r7IHQ6 xSU0G/RwGW7AqWteVFNMYpcXZrb7KX725i5Q01JG2VwxIjwqbIaX/cSm65eNiaJsuba5 KK0VHVAc1NM47tgMM/zyfU0EnRPx4amAVWURE1UdPBpGi9UhSzyh5mTIoJ5Fe7f4xL4A 7u1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=p7vYmdxC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j3-20020a170903028300b001c9ff840268si1111159plr.493.2023.10.13.04.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:39:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=p7vYmdxC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 29A9F83A63C1; Fri, 13 Oct 2023 04:38:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231393AbjJMLiZ (ORCPT + 99 others); Fri, 13 Oct 2023 07:38:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231373AbjJMLiP (ORCPT ); Fri, 13 Oct 2023 07:38:15 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E0A2CE for ; Fri, 13 Oct 2023 04:38:12 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-53e3b8f906fso1123596a12.2 for ; Fri, 13 Oct 2023 04:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1697197090; x=1697801890; 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=p7vYmdxCDJGkllT9nIQpuTbdSATNpXhRuP+D0NJRF2lA8r9fgZ6sgKSEhTKCXgcDHb q8eFjPLVdi902nGBPF/+eO8Gmj7fyc+n4fiTfLOm9oXrPCimFdCbKnqu8WrTgPUDRKZ8 CjDP6gvStlblsBRAxzBXRmjzoJQ4n6paZGAq42p9d35DcDBEEkTy0vcM8zRsF3m9K8Z0 Zg15AeKOZYaWV4qAoXw+OLEHRuvdoUQr17iRArCTI+y5MmnDJIWGOnnMn8XatkbR20BP g2XFtQCImTK/fMqWEP7fXfIq4CUHbKhadvmF7zmOI/kkCS/yQnsE/fLpmk6uaMQgVb1k pGUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697197090; x=1697801890; 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=EFWuiKEy7YjtCOTsy1Fh33zbSyiX9fu8UftdPHeo+j4iTKIKg3VCDEqlc9DzIODIk9 K4Y8nmi49HPnfvQ4p4DmCCUhfrRLh8lbxxLhDVOWns2C8OfL3nR+PUgoDIXBtoUxIpuM 7/dZ4a0nnGi5mZjN+D22jntI0eI+J3hQDc86eKdvHv+55P5lTz6UWokqN/y89D7QosG3 yg72RnUlnp8vXGarpwkDS6tfMrRLaPEv3r8j5uU8kQdZa0DQOkixvd1SD9bAIKrrFng8 +KhltEDX+M3VTXirUSvh9rJ+NIvudQnNnbB6OyPd3eRA1DRZ0S9G3BF/fAq76zAYtGU5 xFRQ== X-Gm-Message-State: AOJu0Yx1uXWVYyfm2Cxv/UP/IBei/AL9aLIVjrGODx1e2zoEkMichRRT RnVXeDGqlQ90uUJLye/E+RMK3Q== X-Received: by 2002:a05:6402:524b:b0:53e:2409:d6f3 with SMTP id t11-20020a056402524b00b0053e2409d6f3mr693039edd.6.1697197090667; Fri, 13 Oct 2023 04:38:10 -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 v18-20020aa7d652000000b00533dad8a9c5sm11360772edr.38.2023.10.13.04.38.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 04:38:10 -0700 (PDT) From: Luca Weiss Date: Fri, 13 Oct 2023 13:38:07 +0200 Subject: [PATCH 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: <20231013-fsa4480-swap-v1-3-b877f62046cc@fairphone.com> References: <20231013-fsa4480-swap-v1-0-b877f62046cc@fairphone.com> In-Reply-To: <20231013-fsa4480-swap-v1-0-b877f62046cc@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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 13 Oct 2023 04:38:58 -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