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: 13551479 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 893E9C48297 for ; Fri, 9 Feb 2024 15:14:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AWTvRryWV8xAvdSSyBfMfQcdATja467egRj9vCmVsmU=; b=ajpbV4OsChhbjx YV0VPPF6yisEfIbJLqpkvOWmHgxNqbVjADoVxxx3XAY4EUkXEeFlbaz7YveIpZmVBQK+ahuCLcn8b XY171a2DTIuy34yCcAZ6rOXHQOfoTZ5TQomydLcqqCKd7IJaI0l13ez4Q4L6F2L2poKFD3Wt+3j1M a8mHs75P1b+MpaFQabx0SN/hky5gu+Wb861JDvD7xBDsdibBQrPHbVWgeZtbnzmBMdrsmYjAL3HhZ 4ijaWma1fttV7Ann4FFzbWBZb0WpKe6Mo+qh/tzdf9YCzUoltPSgrc8SRfV+YXv6iFsBvhgPAPbJP k5DDDr+dkA5mr5FMZPcQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYSaB-0000000HKv5-0rcc; Fri, 09 Feb 2024 15:14:27 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYSa7-0000000HKtn-1Swn for linux-phy@lists.infradead.org; Fri, 09 Feb 2024 15:14:24 +0000 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-55f279dca99so1635158a12.3 for ; Fri, 09 Feb 2024 07:14:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707491661; x=1708096461; darn=lists.infradead.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=US294oQvt4LOG0nN5Pl2tqa1PukjIroS9Uep5l9S58Ttj9CrCwAkWPEs2zxhRK4F66 33IEFOv2x+0mn7HXTL5YdH/yMY09k2Hs9RWmuwodrReLKDMkWHpuGCcD4XIlxL1ySC6m pS367BWGwsGbc2/F+9IisRFgW4W6PH7+Z/SH2j0gSdjQO1MEr16Ov85LNCiQq8Uy6IKy XPIInpKlipa7Hw7YUouHdVwAdXAFUObqXNH+pvG23tzBWDJn1/9UMnrqwTcgXD1bcm8A NKPhyvatsRf1n8+ky7OL1lun0ZQYsm5jVAskkc5Xe9JSn7Bs21tzeyZqNYBwUDuJU16W HlHg== 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=HngT6x6A9FulPiVLTzMjkJpHAcBH+/GpN4pjLB4NUXOqqzaG+kcoMJn3jCZ6DTktcH jH8EBCUXVSH/L5DX9EmqeyG/tOWvW71U8B8H9PTv9GrAOxswb+gdkR+JHjq+YN6b9nLC XRaG2j0frD/DzV6kzl5YobLspdb7RFLxnoltMQZaeQDwofSZrbwkNeqD4tiuoITFlEfH 64ckxFL3ZA9bCCZI9GoM72rxdMR9X1Q3WUhL9TbfsJlxLTMp5FdHi3+v4MMzoTuYBIBV iMp6PCLGr4QpGZvF6G9vfOAaKbsjOJMtuR07Y5j23KEBTFW4lcAgkC8DCyDWZPlzKc6s ULfA== X-Forwarded-Encrypted: i=1; AJvYcCUsx5RcJr4HD/ABCBklxBCe2DMEbiA11Ty4+CGdqHE8zoN1VY+vH5hxUb+MtTHwQKUm+8bKSdNRi6L1KkVNiSyYBuCqGn2erFs14wLzIA== X-Gm-Message-State: AOJu0Yx1ZS47Y8lBU7iiYdHq5RYSjgZk/bMP4mhbvkOtTUH/bfGZvc8a 0LqyPn0T8lvqH9U1S/XPQp4Rl855aMVKzMDjUuB541L2oUO8JKpJN9pC/pzniQU= X-Google-Smtp-Source: AGHT+IFQx2zcDnsBKcteo9LmWHs24zhxEU+vtkb5S0F1UgsqpxC9T5bB794YwK49xQmk/LdIM4Dyrg== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240209_071423_424130_66D977A0 X-CRM114-Status: UNSURE ( 7.05 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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: 13551480 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3D2BC4828F for ; Fri, 9 Feb 2024 15:14:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HLd0PoT/vqC/6hQw+4/E1y/t/r8tDIJQC4DrBW99srg=; b=h3vCihwf8ptq10 fuHMps9SL9kBoUt+fvqy060/S9CSWQqrmPNf1VZpPY+f2tjwePGLYVQKoU9MwTFdi0itAAiEwwUEz Xd5qwLW18hBP9A2bvXBataWdW62TyjkcMwJ+apiWmP1ygty9tj5Meg4K3cLgqEimF+XAkq1kxhtx0 zhif4oUo8KqN6fx/eYJpugFR6e+EU6TG93uEeAhhDZ1rK5XTRbl32ohMjVhzjBUzv4g9LwvIO7Mf1 Qmen4Ayj2O6TZbEa+/Phu7lsIxXdcMoRA2W1Dk7XzC2nq65vrbW3oe2IIIFMYOnkkiu8yNhldyfYl lbDDuOcWfeUMnHRy5WhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYSaB-0000000HKvE-2054; Fri, 09 Feb 2024 15:14:27 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYSa8-0000000HKu4-27sN for linux-phy@lists.infradead.org; Fri, 09 Feb 2024 15:14:25 +0000 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-55790581457so1732798a12.3 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=1707491663; x=1708096463; darn=lists.infradead.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=jWyzBBhK5Slisz3pVG8hrfaOxRDHvLMuGQDqDr+8j2DP73XUIRK4oE4LBQTPtRdXxu NB5RvWGQFQUfhtGYkNa2HlorvXHbvz/T1qRIujP+4vEnM9DlF0JK81eS73JMuapvUpJO OwRBmLyg0fHb05Prmznf0SZqe0cJhy3HJh80KzWCVKHDgIQWOaBc5onZHfOvA1JYQ2rf WeAMQOAEO+h0E7GQkPV+wXFISirNlZzlRwpugKW1GJbRC4Fs3N/TTAWznPRAZS6GscdP I3WF6gq7tI4QwlMBO1gsXGssE/wPtg7rLQ3OLWZs2kmPful+0AbAU48b0R1IJ2ue2zKg lJ4g== 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=hh6RB9sErNFowHTQGgCtoQOdhlrnfHyCGlekivj81VpaTMxOD36rrbeClHo8HXL3qN wDfwSjDErjQ+puNhNgEMCEQaYydKaJGWyIqWHA+hzgkQ47ElSNGyVQLF+DbCoLUihb7e vgHuo60oRSh8lgjrfazgsnnY/4qOyMNAYGQDCNkTKX1J8Ebo9ZSnNiLRIiSdVcXo+/wr QT5qeMSfVBpN4pZv6fuKjJhUUpT42DclezKnPtCaDYJ58nuuQoWp+wUrCqcSACB4kUSx u5aiBBrT85uo8QeRaQ8m5Hv8TzmOOn6bmBZtwEYddDTWSkDc+UOPhxMO/vEZ7B5EpzR5 yZ+A== X-Forwarded-Encrypted: i=1; AJvYcCV1CE8GoN6r5oZNui94w9W4NstR70t7Mp9LPhyDZh+ScBclWMEP7pVlNirQCMXBtdTOt5uEB16CQeRXrUfNIFUcRMi8N9+40xfST53qwQ== X-Gm-Message-State: AOJu0YweGVyyiTfXz0/ydW5AG70cHCDMCOT/YzxGB1r9bBhYygLFgA64 Gs+vWsMikn9AogdR1S98e8T3ezQRtVVStOK5v2JkY4G4Jwe7v2AsEWu1lO4f3ZXO4ECYdvqEU4F 9 X-Google-Smtp-Source: AGHT+IFRnx3V8Lzh5GMxDQ/foYrd+zTVGfXFf11WO/GMjuFCE6jG49bIpV5DOcpyzhWSeA4HDREdEw== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240209_071424_583546_88C1F3BE X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org 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);