From patchwork Fri Feb 9 15:14:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 198950 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp930101dyd; Fri, 9 Feb 2024 07:28:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV0IWO9MXbxBAy+A/l7F367f5ww4L5Q57/MqqRQco19o2QERLHHctLsqtejwNSk1d6QThQW3a2RwVm4Tyly35F3Hzc18A== X-Google-Smtp-Source: AGHT+IGwU5Kx4N5nTlQgN1YUmHR6MgUKDPJEZya52zpz4bmD3DlyxToo3TBbLbkxNK1IpP6zJ2V9 X-Received: by 2002:a17:902:64c2:b0:1d9:a66a:1c26 with SMTP id y2-20020a17090264c200b001d9a66a1c26mr1653777pli.20.1707492498368; Fri, 09 Feb 2024 07:28:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707492498; cv=pass; d=google.com; s=arc-20160816; b=CaTOHHDs/N7hvDZlHjC5pRoiDme3HpdJEdbHlWtLfRVqgG/pIbLjneZFOsyxZnN6q+ Oh30hWLCfa+xItq1BS+HFtyAOn8DCHWibimbLeDx9X3nBDiFVmi/o8iCl9gk/Qbu8xnu iQoZ0FfdmJIPMfhpVVBwVKa1ir9X0D6SQkKbSl46i/TVXz3BRzCd2KBJwJQe+FZzeJCI 18sJNm35Gpx8G4GjlIr5+SCLWhZPXvpZh2SSdHtCBYjepMwYh6451Itmn4GFLWDoe3HA AekCdtFTdrVXKQcg2kzYrzF23pnFP5p4GhqCuGRZ0QeY59Q9CVCDXKrT8wM0e9kYNAro t0Kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=z1/il2Q9wQBYKmAz0nVoOh3RcRm83j20v/creeLYcwA=; fh=alK+GbfSp+LG6IT9Z8YMm35sCR9Lto2J+kn7Yz56QAk=; b=bGJEKwbmykoqSgQtePRnWyow4vtYD4mJqBjoIXeW3ViaogvR8624iOINO3hdWqyjae h+CcH1Tq8bL5TudMIxf8sJdOHmpmSoklf/01pThVsMOzoNArfmsCMeH4n2/G/7NVyUiy dTgn/vSJHMDqdvzCNOgGDwCMWX9xM7DYr3s9P3jOYbZJwF9cF4UQpU039CG6/hPbXYUe adoAOy8gAcmJ+kS4knXR1jgtQTRRzsvCjIO9mi/zYE7luIYEeDh4UTtU30zAHnN8GOlX eAWpdolKyq7f2YYqs0QidVGlkNK0TH3HMeHxtRvs3cHVOrSUmOMULvl9F3Wj2CpSLBlV 4wJQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mnUFL1gl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59519-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59519-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCWF4IESrLfIH7FXTLWaB0I5Fle0Msjp8IkrZp+OmF6Xh/Oz5wKhJl1Fsvx/mctM2QiihhIsMdEUa+kTfT/1mSaQp29Ugw== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i19-20020a170902eb5300b001d9643f32a4si1739961pli.501.2024.02.09.07.28.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:28:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59519-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mnUFL1gl; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59519-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59519-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2F22AB23981 for ; Fri, 9 Feb 2024 15:15:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1A4B74E15; Fri, 9 Feb 2024 15:14:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mnUFL1gl" Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48D5E6E2A1 for ; Fri, 9 Feb 2024 15:14:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491665; cv=none; b=HD/+jtHFEZ07Klts+ZmFZq/mqosBZVukS17c3mYsQoYpfwlPPutfmS0LAPPzqcwxfnLOu2s/8PyBqqT0qBRevgIRjDXA6kVpnjdKM/MNRA2AZnHbfcJ22bDYuQGUVPBBboazpMR3IsLstoeIxu0U5MipgjZ3xhBZDfpCX2fJ8b0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491665; c=relaxed/simple; bh=nlvI7EZuEJ/t7vpE1HQr6Bfm+OHJLNdD1aQwrjw/DeQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Lr54JZ+uMBTdUQ/NmIRZ2vD08er77Dkrr6ytrwVg66I5ID7H/Ngv7QXtpp1pdAmETQeNJisgS/ZjY/1qKsJ5xlKzWvPnAksfMLIJKnOnd4p0/dVny8QRd5ePuI1/c/vFrs09vybUnDRffKUQwUHQu1Lzpphbga3pdoL+Uiw9EMM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=mnUFL1gl; arc=none smtp.client-ip=209.85.208.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-55fe4534e9bso1469828a12.0 for ; Fri, 09 Feb 2024 07:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707491661; x=1708096461; 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=z1/il2Q9wQBYKmAz0nVoOh3RcRm83j20v/creeLYcwA=; b=mnUFL1gl4JouPrFdd+JerbPAvtCY00uUe5wLD/wdBY1s6v/U6vWRaffJOG5zIGPjcC 7al9SGHqp87t4J+7J8LicU7I+hPYQUnD1z61yR5I2G+Pg6OOA51KmQDswuooOPG9XSfr u6AgIVe6IRfFflnGeIiIWyMgmiEQ8koY+lUZH4Ftm7k/xjdIipUqXf2BgRECeQQubQVj bgE+eBxYVjsvtuA2HEY8aCZ2vShRIH+WSY7noGXYei0pzfQWvApWOeqQy66LPZuKAz+i k3scHFemZ5p8t95VpvVXH6dxerrniMkSFSuz+b3OdMPle7caagDf1PMaUb9Cmvhlg26j 0CbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707491661; x=1708096461; 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=z1/il2Q9wQBYKmAz0nVoOh3RcRm83j20v/creeLYcwA=; b=wbtFsD9qB3lmM/644iesxozlLjtFxa6qHQA8t3rboO4czRIq2Bm3pcqeEqiM0bEQ2g rEBVBirhsVS4KjUvpc8W1Z3dPHq6sSrcuej4whtxv89gsppC+zuj34twLbZw3tGCVM4a OYvX9RBROMo7ovgFoy6c0KRAmIZFCL7tmhnU2E8urvzjMqkHD1c4z1iK8q8ecOsfVmL0 tAVLsuDM9VoiwG2w0ywLYqf5L0/OjMEe23zfGTgHpCXzCVnQtsZiHm1ZUNWyq7UkmVP4 xq4GFdL6WEpnyaiRWF0o1SF0c3nDH5njG8UnuSAW8BtLlugd/GnJtF0oGe1xJnXrFaAf J1jQ== X-Forwarded-Encrypted: i=1; AJvYcCUf44VjNKMg39ttBeNCPqbAmoUUSiJ9KVD0kout7e7z7GbeY+diT2+3XrajgUNnnYyGPYvLkGfisEm8PXFCDO60HBYmJ53qI0O9AW27 X-Gm-Message-State: AOJu0YwzLCIC1BBzXR/36o7v+VX9Tgf7KAOoKj/0VBfSoDQLLc5+wf93 AB7kVamTGw2ty5bwjg76touZywn3v8wNd2ymaWCZQk23V5PcrXlOe6yEfCPF6y4= X-Received: by 2002:a05:6402:281:b0:560:5fc:4c9e with SMTP id l1-20020a056402028100b0056005fc4c9emr1323018edv.41.1707491661569; Fri, 09 Feb 2024 07:14:21 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVc/SW1j2mzZQHl76VPOwGOQYPAS6PUbLDGZ/dNvVAx6FhHaZ8kQy10UH1kUwnOoBN5FHoOSx3UIRLGQA1+5CwXLynfTOkkCiVUvlX6yh9e01KJmqyw/lispncx1j7AizlPyn8kojQUslpIP6yuwFOdPlfrVync1/mhxGhiyRPvlKeHr8JbYLKDuooWfyIkAjraKInM1HKVcJyKvRR+VBhMCTabQMAOBBR24Q1DvyEebfcQf/7GkJUAtsVUiqCLmGT88BRZ72D9PiIHO3PZ6tQLpV0vwVyylCsU3PfFcw0Q4BFGrk5ObKpkpbdnAXqSbOdeAG+XeXfpLoGVUk9MG7YVGH+DaytxRepXjSpkBYTsxkZAo+y6mbq08exi4rr5vCxHHF51Mw== Received: from [127.0.1.1] ([62.231.97.49]) by smtp.gmail.com with ESMTPSA id k6-20020a05640212c600b0055ef56f4575sm860240edx.39.2024.02.09.07.14.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:14:21 -0800 (PST) From: Abel Vesa Date: Fri, 09 Feb 2024 17:14:09 +0200 Subject: [PATCH 1/2] dt-bindings: phy: qcom,snps-eusb2-repeater: Add compatible for SMB2360 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240209-phy-qualcomm-eusb2-repeater-smb2360-v1-1-af2ca4d95a67@linaro.org> References: <20240209-phy-qualcomm-eusb2-repeater-smb2360-v1-0-af2ca4d95a67@linaro.org> In-Reply-To: <20240209-phy-qualcomm-eusb2-repeater-smb2360-v1-0-af2ca4d95a67@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=842; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=nlvI7EZuEJ/t7vpE1HQr6Bfm+OHJLNdD1aQwrjw/DeQ=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlxkFJpdc4rGZiRQnENaXSOF7rvgvpH8dOlcKuu NHk48bJM6CJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZcZBSQAKCRAbX0TJAJUV VhNuD/0djAOxaAZ2MlMyXYl5Gy47cInI9gLtan/9A8H8m3rsP+R6LgaS1PD+jxR/NG5de3zHkAV REa6Zu84k6MMNWNy5bcYJEfyqj+HEHcVHhDjqAL6D6xQhG/t0V583YeIiIKPamud2cTBXLjLUm8 dfVD/Mr/ksA38SoXK6bFSArbFZ6/6921dYnNZ8tl3AuiAxhz8aiCfKObhFiMyUyxOXxYPEBzueo CjYjWpPiPLpjXmfJPpEvWGj8Vt7YLg+3LOJd/UEfs16O84Qo/9B32C3wZEX3bitU9Rqu/a7LChM AdaclbyURqPQ4Q7/YQ/55ODag8ftYHi5xSc+G+/9cC0dfguuHmnDJqrF5F5thE5qomPnUZ0k3g/ NpfqxRV7QcRb2MGK+G6I235ChBS90CrdhmjL40o5wTf9KO2Y7exoW9/QX3JrxzE2fi+hDlw6EYC MSw6xN85IDxMhm1u8Czu46ub+EjU/FlqCycdzACLTOrlyE4aWC3U8Bt0OSROB4Lrj0YTnCwNPWz Z20rsJD0BdfVmukEo4wQVjWANngs2brR0SKM3i8pVBlkTy4hvwyfDzxL+4eyXxbTSIEmnohsoHD /PeiW4RIh3UaPGXqHsgs8RQ3Lk9beOUfnyoN3ZKTqgExo/AS/+MHbrYi3oX4l3CILisH2mQNsjW VVOt+gFYk3IlljA== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790435653653822523 X-GMAIL-MSGID: 1790435653653822523 Add a dt-bindings compatible string for the Qualcomm's SMB2360 PMIC. Signed-off-by: Abel Vesa Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml index 24c733c10e0e..6be20c157568 100644 --- a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml @@ -21,6 +21,7 @@ properties: - qcom,pm7550ba-eusb2-repeater - const: qcom,pm8550b-eusb2-repeater - const: qcom,pm8550b-eusb2-repeater + - const: qcom,smb2360-eusb2-repeater reg: maxItems: 1 From patchwork Fri Feb 9 15:14:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 198946 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp922942dyd; Fri, 9 Feb 2024 07:16:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWJpsc2/Gx6knR+s37tw6XUtvH4X99HGEXcpDsI7rshtl8fCiJjSyhsKavCrxlaN/NAyHXuaIc4m6XdoePP0r9N8q9k/w== X-Google-Smtp-Source: AGHT+IHB36vk902R/XyMaqiz+KkaJ99x1sOT9PFLf2pflXLXoCKiMMAhDeqTIVpiRQ2dP0B182V9 X-Received: by 2002:a17:903:485:b0:1d9:c2c4:c61a with SMTP id jj5-20020a170903048500b001d9c2c4c61amr1612035plb.18.1707491793917; Fri, 09 Feb 2024 07:16:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707491793; cv=pass; d=google.com; s=arc-20160816; b=AZKdEM2683LEQDEn/6/Mnrtcn/AGBznAS17A+hLryxXwhUrwVXh0YqpdRTTLO5z4WS VjSdEjxMu7ylFomUtSoUVrAWIfducQhm5Unbrkk0xeSqgaMypU0jsTAIw8jGrOeKSyUL UDz0Q5bdnk6KbMi50Nw58eyqDV5UF8sOpfHqUsX4BF9poHJz/6H6+CY0vsDVZgEwrCNX mNVP+WYlZY3Zz7btKCz5WDfVkfMm0DuGFXaDgBrq7nNtjXjJNblkJljV9Hj/3TBm4flM m78BdE9hlV+uKcnAzCd9BOn0aQIP8T47UuDu6Js5prFsJgvDBRMi9Xud7wDlUUUOfyi0 CPrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=YL2IJfHkdntdjIp9PYI1/IffOpvqAPpkYMNUKb07Z4U=; fh=OTG3hezsdYlvFJmwu+5FYnpOz/IoU17uSKYjw373NOo=; b=fb4MKgN42pev6g91ucaFXwPVpNDS4yCmN1NmzC7R5loB+h7vrjBsWNrzF8IYqGjTk7 WxYuUwZ9EbMTZTXbsKNV29vL52jvnlkA6D+Tb1lwaQEsanqGbU67xY/D/c4gOG4hPNbn UF5vW41d9l6VtCZbj5bxobPYZLqbfsgkefUIVzymT6/8LnzwEaIOn2Or+BpptMWNlv+D CDcKTQQ2/x300QXK3BSteXbwa/KAAx3qDV+q5YrVrICYlO/Khl0Skq/cxyBVAGA3DkVS LZAbHl0V8xG8etkSXXTqxUkNywuJX4SK1dLQrDuTHZyhVDCa2HC1lvQ6wWe2HS0aNZQK hIeg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HVcbMb1l; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59521-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59521-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUCKmo2zIbK9w0ViN5cGCGJ1+I0JGSl6REVbH90bviL3lu03MklVchPfHpesbmFvydd6ReooP5v5kAdoTshizqunNhplA== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k10-20020a170902d58a00b001d015cec684si1825160plh.238.2024.02.09.07.16.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:16:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59521-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HVcbMb1l; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59521-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59521-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A63252861F3 for ; Fri, 9 Feb 2024 15:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DB2B76022; Fri, 9 Feb 2024 15:14:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HVcbMb1l" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D7926E2C6 for ; Fri, 9 Feb 2024 15:14:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491666; cv=none; b=FOzzkXk2z9X46WXLy7dwB3obEl3FRmNd0IixqbW5VyTkpuEMZtw+gnXfuYz6zE00nXy4mSPT5HwMTxZ8YJ17urHMgUbpMhsqrtWo7nzHEBBFUdQaTdA0bgzCo2b00d1V2JEaiRhPudje2MUDkK2sgC1prwAQXm0Z1wuf8AYwyRs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707491666; c=relaxed/simple; bh=RYhCME+7iVjYelcpTNzvPbov152f+rjOM+U60A6Yk8o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=n/18IMUa5cPK8OwqDgW/LPUNtUbDcTEDuN3nfRpJqjgCLi78Ji/uLuAdaOTg6+sI9WnnjnAbPpPymy8eDuI2tQjWmW7L2vvnw5YGUP3WQEBMIqANYkA0NDCGHQLcYjKHzzENyaV9eUlek4cNPpss/zcn2vEZLhZLh788ys5dblw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HVcbMb1l; arc=none smtp.client-ip=209.85.208.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-560037b6975so1257549a12.2 for ; Fri, 09 Feb 2024 07:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707491663; x=1708096463; 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=YL2IJfHkdntdjIp9PYI1/IffOpvqAPpkYMNUKb07Z4U=; b=HVcbMb1lwUOaZ6kWqCcTunQ1FDBeOTsY6nH+LmMDzdMA0R73FTPSuuCkDfNKtOe2km AKxsN59x8t7+oWN9kFfLj9aY/BTHQgGZiXkjwbaDOOKWNtOC920TX6Wtd44c4BkKTKzA cHStzoag7PropSWsz/4PUQ9gIJ3pRH8ApxS6w9FzuqRf/UwJhq8uP5vEBNcVaW1yWuf9 gEhzupRnQkjoxv3wsm2BJPw0wxPNUGNbllHcxY0qeYP2wUH2WNfU6kyVeC5fpyrefbVL 1PhCNGmeUM+bBs1KSBPHLY9SNKyyUKCRXhfxUm4pTPFfBcrWw6mWtu6tmAJT0N+lyyBG XTnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707491663; x=1708096463; 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=YL2IJfHkdntdjIp9PYI1/IffOpvqAPpkYMNUKb07Z4U=; b=MiIQpGCHl7kfSABSVYR1D4HUosBivvH+io+tjTrgrAyxniT5mi1Yo2vDZxS4Vm+cwl kgzmEFGIfkn1rRdQwpDCadz/I/sxMvWq7WrjQX7+2nhRREuEeUl42U1kxo/UxMu5r6oL tSNoITie1lotuH+pP4yri+kMsMiVWisLGeL4DcfQCE750tdxTFNFcjm101FfG8PzGQ89 eK1oNWbOE73V6Dg69xHuYhLeW+zHvdvP7USBLO3/QMpWK5D0TJ+V/3lyh9/+HAUzSJeN Zso+pbdgCD0fAczBMjDzQ2HArJR7w8lK0HNLfXckNVqzykeiXHF2g/uPyGzpNcf6qTir JVnA== X-Forwarded-Encrypted: i=1; AJvYcCXBAS0G6texaFoRYpNcPO2DZ9eb8kCS+EP9Mi9gY4WzXRl3hSNq2pxSn0TqntNUPyI5GxiI8Ye4qJLRGjEAOZmvbZf/qBUEyDaHXF83 X-Gm-Message-State: AOJu0YzaJZcus+6L5sum5mPaHNqUlNg06s2axnEEZzE15JYR6HZVuCki z8ED54zFxsqU1+vZJWSioGPhqOjmiby07kj1rCUuovMfPRuxLhk5TUcpv0npwpc= X-Received: by 2002:a05:6402:3083:b0:561:55d1:370d with SMTP id de3-20020a056402308300b0056155d1370dmr212344edb.36.1707491662805; Fri, 09 Feb 2024 07:14:22 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCWdWmparoLbnMsHzLIEVr6Tg1bWuhKB0XjpXYQ21w93vf1+nynSS63ESpSPCxvFjDdVh28CVql3iOTnq0ih4AaOAR+VT7Lo1KbY4XKHZIrxFn3VzPJ3o+3fK1M47vxURvTtKezS6GGd2Wr3je8m1pKooeqt/Ltp1gFBVPKlkPjWvsciyPOm+zVcfvQF/USozA0SE/FUZrHKd5WDjSgibR3SW//XLppRO6YUTWPZn9L0dVTHILmrmPNBCr5TYeTwqxMfQWs0CBCxf1w3HwAN7E5hC0aMZxpUmmsJHZmc96Yjos4i/G75Lmp9AO82Qu0sbLzKVQDI5nqmAcx7jKL/PiAB3RJq0D/bak+2Rz+cfi82p2X4dBLSQzS7n44vINLijJLaYsmH9w== Received: from [127.0.1.1] ([62.231.97.49]) by smtp.gmail.com with ESMTPSA id k6-20020a05640212c600b0055ef56f4575sm860240edx.39.2024.02.09.07.14.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 07:14:22 -0800 (PST) From: Abel Vesa Date: Fri, 09 Feb 2024 17:14:10 +0200 Subject: [PATCH 2/2] phy: qualcomm: phy-qcom-eusb2-repeater: Add support for SMB2360 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240209-phy-qualcomm-eusb2-repeater-smb2360-v1-2-af2ca4d95a67@linaro.org> References: <20240209-phy-qualcomm-eusb2-repeater-smb2360-v1-0-af2ca4d95a67@linaro.org> In-Reply-To: <20240209-phy-qualcomm-eusb2-repeater-smb2360-v1-0-af2ca4d95a67@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Abel Vesa X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1759; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=RYhCME+7iVjYelcpTNzvPbov152f+rjOM+U60A6Yk8o=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBlxkFKvd37nKXPlXZ+BGqyJesFi49ujExMfhLIo Ej3PV1DZz2JAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZcZBSgAKCRAbX0TJAJUV ViLOEACaWnWsPpm3ynGsiy0HJIrunVq1hVKVG0Eq/OMOGBxMZkoAbll56aLUGkBdxmq2xG8V5Vm gF1gwEPDAb8zLJVFUtNXWkDrB/Xuulg4POxIF2Oayv5O7F9F2rO+xgF1+bktr4v4b+4Mk1SP9ZQ uyVs5r0dpXD+bgj9bcE/NPp4KmHu8J69QLjcytVIpEN7e5FAJnL8f+FREgayTfdOiwY/JsZN5Y2 j1KRe1gpcbu3B2SOrB7Nma+zWJ4DBlxX7LTUuMkm1SHLNBVZ4ECAdH9nFc2Irb38DSaV8t7Mrlg cIxv3EpT+31aK8bMg6nAWi+NZtSqhjbeupE4MV2PIWlA7R6PGSdZjhAVp3zjNO1QaCaVir4q06K kJUp6qWersCfFzyoj+y+anUDJCryll4ebqb4gQh4C+n5WihvG2lE7e0RmdEiw4a5zU9YeNYnxJi IIkqB+4H+Bqk4dgJzYAPD3eai0Rmk0hp2YloptNC4K8FpHMXQe1QVFMDetCGVBtILrmC86oWGkH UAvuQsSTsT/4PpTPMY9VPY1mwzxS8fUBzsv6dR8uE1ONRSRp2R5FWhDJevv83LPuPLWNyP0Yf5c 8u5pZjfZBDk/oPOu5fK/5vGrc3Sdc6NDQx95QtWQB5EzZRmVY6kEqKbyz7C0mkqQX0L8Q77/ulz sY1t+vi9R5sS+Hw== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790434915093069813 X-GMAIL-MSGID: 1790434915093069813 The SMB2360 PMICs contain the same eUSB2 repeater as the PM8550B, so add dedicated compatible for SMB82360. Signed-off-by: Abel Vesa Reviewed-by: Dmitry Baryshkov --- drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c b/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c index a43e20abb10d..68cc8e24f383 100644 --- a/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c +++ b/drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c @@ -88,6 +88,12 @@ static const u32 pm8550b_init_tbl[NUM_TUNE_FIELDS] = { [TUNE_USB2_PREEM] = 0x5, }; +static const u32 smb2360_init_tbl[NUM_TUNE_FIELDS] = { + [TUNE_IUSB2] = 0x5, + [TUNE_SQUELCH_U] = 0x3, + [TUNE_USB2_PREEM] = 0x2, +}; + static const struct eusb2_repeater_cfg pm8550b_eusb2_cfg = { .init_tbl = pm8550b_init_tbl, .init_tbl_num = ARRAY_SIZE(pm8550b_init_tbl), @@ -95,6 +101,13 @@ static const struct eusb2_repeater_cfg pm8550b_eusb2_cfg = { .num_vregs = ARRAY_SIZE(pm8550b_vreg_l), }; +static const struct eusb2_repeater_cfg smb2360_eusb2_cfg = { + .init_tbl = smb2360_init_tbl, + .init_tbl_num = ARRAY_SIZE(smb2360_init_tbl), + .vreg_list = pm8550b_vreg_l, + .num_vregs = ARRAY_SIZE(pm8550b_vreg_l), +}; + static int eusb2_repeater_init_vregs(struct eusb2_repeater *rptr) { int num = rptr->cfg->num_vregs; @@ -271,6 +284,10 @@ static const struct of_device_id eusb2_repeater_of_match_table[] = { .compatible = "qcom,pm8550b-eusb2-repeater", .data = &pm8550b_eusb2_cfg, }, + { + .compatible = "qcom,smb2360-eusb2-repeater", + .data = &smb2360_eusb2_cfg, + }, { }, }; MODULE_DEVICE_TABLE(of, eusb2_repeater_of_match_table);