From patchwork Tue Feb 20 19:41:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 203776 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp626291dyc; Tue, 20 Feb 2024 11:42:48 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWPiYeI7omVXKW2Ph1r/s+LMAaHIxPf3rICiPYixX72RaI9mFDMG7M2pfjVqpLBW6J5BtXjAKOasCQnyStrsjXJVhXAxg== X-Google-Smtp-Source: AGHT+IH6x1uCsr2RnWGgkUKB/VlXgx3fQzZPpbgBIwLq+t2+GSM7e06S2h1Wxf2MGLCBe9mfc7vx X-Received: by 2002:a25:aa93:0:b0:dcd:97ad:74b3 with SMTP id t19-20020a25aa93000000b00dcd97ad74b3mr13304328ybi.63.1708458167819; Tue, 20 Feb 2024 11:42:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708458167; cv=pass; d=google.com; s=arc-20160816; b=HrWfyzKv/CwxSGn/k2b/caoQHbNKtineJntsVdSPBsrw9sxi88OdSb/cjahfaT2p5S yjNVRhuQ7oH4XuvJL1QPaqB4PGSPY0Mq3tNOCeIA2+6MLOKyz788sl53hcOkMIJMuv6V 8ksBMGGa7O96Yj+AdiqumpV4Xppsri6VkPi5zVrN5n/yHdbgTFXff1IG5GlGIqfst3Db a7FYkchzp6ZG7fuJe3A+Ei3ius07MgCbwfngJ0P/sV0eYegsopIIzfNtRMD7wbx83p1U 0Ql/A6CD+ERspHylmHWHHQfl3DvOWgFgf+knl0jWRUy+gdueawc174J08RnTKoF5gmgS O/MQ== 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=68h+LE3V0lr/x+lRFuw+jGun3H+4YcH4pkj7W0Hoxgk=; fh=lP+TaSmeERWyQv19rY/SfSIygIwNKN7mYR/udehY2ME=; b=T2UG55/koOpHs1MqdzLLCHV5OXDZ3q7D4K12WP1imOBcX6MNJW5tmIYwZJyZyqMJGm dX0KAjr/hoCj4Lsmt/1NvpD4wWsd4TtCXaJnd7LfAhFwxh262QxIVDAtX9b0zgoid0xe hA7fiGGvgVxGK2jZTeX7jDOX1rh4/St/JdqCl/qJ/mgeHMq5Iz8EP/Pw1pa8lKuMaHpe wIBuZHEqt7x9QoN/BCG6i0KJhkWHd9Tmp2LB9XYrXFBXdGacWbTYKbunY+lPh0lf8BtH I0pC4Lh71kjmyMCq1WJVMPKiR3Xf5iEad132hjZxZJDA5QbKIwHMvnbls3zgmog4LRXX WVfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dcij/HAZ"; 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-73605-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73605-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id p1-20020a05622a00c100b0042c7c95becbsi10214157qtw.265.2024.02.20.11.42.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 11:42:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73605-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dcij/HAZ"; 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-73605-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73605-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 999C21C2213B for ; Tue, 20 Feb 2024 19:42:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 875CA14AD32; Tue, 20 Feb 2024 19:42:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dcij/HAZ" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 E5F2613AA2E for ; Tue, 20 Feb 2024 19:42:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708458133; cv=none; b=Dz9NYkpvhQx1YPo4KagM1R/uqUuFxbVso/SCcS/8+WJhe5yUOIKV9v+ZhMP7Sm3cL/o6aHMZWTeeXCF7bDNf/FW22RXInHeJV6yOKwl7ZnGIzmu2gQ1fHgrqGIw/7FZQ0lGzItQPaCYANyZyww3zUWPMKUfq7sqfEOGJ9QZPbv0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708458133; c=relaxed/simple; bh=SIo7UuL857cJN/BAk2/OFWYIDGu1F5bYNPOrEFilIxU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Vi/ZcK/K5JqrH6UR/HkEie0AUYBce9gB/YtjWiYzjJ5ZcRNct1GNMjjOrHIbBU7DiMwGNrCmbaIY2mnLWxOyey6SoPeoLknhKDPV4jRYGG/ZMPn3ziRUiim1G0EuH4kdafYqF03jQyfljM+HOGE2N/MA+XKWd0YI/EybaoeFTjs= 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=dcij/HAZ; arc=none smtp.client-ip=209.85.208.41 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-f41.google.com with SMTP id 4fb4d7f45d1cf-563d32ee33aso6431247a12.2 for ; Tue, 20 Feb 2024 11:42:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708458130; x=1709062930; 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=68h+LE3V0lr/x+lRFuw+jGun3H+4YcH4pkj7W0Hoxgk=; b=dcij/HAZxh7lVadtRr0RCnmRp87PMCkNLF6iPS5DpeWZbrNOHJTuoUTK/Wpt/QcaOM As+AyqiI4CLSCzU7OQK+qS4hXu09PXg9Nt7JgBh9GswS4UaIl+1pCCWMVvSaP16Nvf/b +8BHrKYXViMHYBTTsMjFq35I4uFxrGb5jqBINrXVoW7xDuJL3O2+EUDUZrnvHhw8b/XP cb3dc10P7XUq39g6W4hhHqo63mkUDGqbF5niuhN7A2+0SsdvwxlJxcidyud/cpmVxmzH kRNIPGtfMHadnnzbkuILSPerW9NKCOzTwWwOaHA2E3ysOK4Sj5FO0mEDR6Q1E8BI/Qxk RG3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708458130; x=1709062930; 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=68h+LE3V0lr/x+lRFuw+jGun3H+4YcH4pkj7W0Hoxgk=; b=Ily2+97Oz6eIWPfYh5hxR/Hl2wlrPuza7q+Mrl7dj1948w5nnQXOmkEBK5AfuAIqK8 zgr7A3S80Zdfz6ToOK1+b3vTpXzLM5TtljBKYuct4BMvcQNmGYX8UxFo07k7s0/sV1uO eGPT9NqJ7rrbhksI2ykl2u7KAJkch4c5Aldz/uPurUeckY3BG8Z9WFxXkyt+ZS/hynEP MtSZ36zm09k1ase62naJfcWpJBaXzXs0X+vKXLt3XhM017Z6m1zzkaXf/eTp1OSK/kRE OphV7yFeo8wAKTzLR5Y+dH0O6WmZsqovW+/Fb4ASLfsthdPR1JHHe2b6NivxXBBFXzpV nASw== X-Forwarded-Encrypted: i=1; AJvYcCXre7eoHkmwlVDOPxC+0sKcVg1zIYFh5pU9LUVU+COvbj5fEoncKwCFcTQ4mNCvghnZtex/y792gWMva8MWDPQWhFt7fUcdOtxJwAEu X-Gm-Message-State: AOJu0YyKKEkEMzu/nR5/C98+TRIQpC47iwRix97brL7yNkTZbj1bIXDh nQEaXbGT9lKfi2frz3Pz7xftRyktMQbt5JKixndHfoteT40hIq00KlOqE5wKDOI= X-Received: by 2002:aa7:d899:0:b0:564:4028:e2cf with SMTP id u25-20020aa7d899000000b005644028e2cfmr4651208edq.24.1708458130436; Tue, 20 Feb 2024 11:42:10 -0800 (PST) Received: from [127.0.1.1] ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id c1-20020a056402100100b0056486eaa669sm1906822edu.50.2024.02.20.11.42.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 11:42:10 -0800 (PST) From: Abel Vesa Date: Tue, 20 Feb 2024 21:41:59 +0200 Subject: [PATCH v2 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: <20240220-phy-qualcomm-eusb2-repeater-smb2360-v2-1-213338ca1d5f@linaro.org> References: <20240220-phy-qualcomm-eusb2-repeater-smb2360-v2-0-213338ca1d5f@linaro.org> In-Reply-To: <20240220-phy-qualcomm-eusb2-repeater-smb2360-v2-0-213338ca1d5f@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 , Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1000; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=SIo7UuL857cJN/BAk2/OFWYIDGu1F5bYNPOrEFilIxU=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBl1QCNOAZipYAXjBdAijs80zBC/8NG6RFfVTGz9 97PbulbEI2JAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZdUAjQAKCRAbX0TJAJUV VtFmD/4pQdUIgFWfHGlCQU/z5+p7XGVVkaS82l5b7PjySJRSqhcG0utgcrUheaUccIIe6WKt+ud aneGbMEBXiqaIfLG7jwggwntMT0hXUhf+0GwqznWXid+XYOClUgXvHB0tLP4jSsTXYvASZWdYWJ ovUnzG20wzUwOjcyP21L3IVCWxw33+CVDyj+GDycVQ3a7TePPhiOI4FJkonzk1wnBXolaetI08Q HBSCvqic7GPndYXb6iZUApNnL6Zqb+nLbkcIU0Kk2X3/zukCvOij5OJmlnmiEOSvSecYODXcyJ3 GIErepa7iUsTU0UcUSYN8NMlM1ZaAhBX3Px9+9A2pxWp9IVOvvs+OwVxjlNw9/16XgYj329wTX6 dZxSNXptwFjYAZaQGoioxUTXFgx6+iKZjtUNsTgdzgrrauj1MGlfhAu8bh8sIm0nA/m/jFqaIvH a/ZAKjU67T3bsDcYu9b0XcTJXOnuItoqgc8OOYtEU5McZss3W6uiBvDRBYt7uEv7sHunxzShGC8 e4tLiG4a3TYrIhyvAKSzJaNw3EoDkFFjnreg+/Cal2BVZ7gbVOtRVej888ZNIH6eX1CB6oVPmvp TI/9AM13TR+/DMQziN4bdQZNgtWJoZLemkLjQVRjfMzxw0UOw5LRk9zgowrwBWyodZA53LiuLss KR1/B257ikB506A== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791448231476403662 X-GMAIL-MSGID: 1791448231476403662 Add a dt-bindings compatible string for the Qualcomm's SMB2360 PMIC. Acked-by: Krzysztof Kozlowski Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml index 24c733c10e0e..90d79491e281 100644 --- a/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-repeater.yaml @@ -20,7 +20,9 @@ properties: - enum: - qcom,pm7550ba-eusb2-repeater - const: qcom,pm8550b-eusb2-repeater - - const: qcom,pm8550b-eusb2-repeater + - enum: + - qcom,pm8550b-eusb2-repeater + - qcom,smb2360-eusb2-repeater reg: maxItems: 1 From patchwork Tue Feb 20 19:42:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 203777 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2685:b0:108:e6aa:91d0 with SMTP id mn5csp626352dyc; Tue, 20 Feb 2024 11:42:58 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW3Pv8u7PHXn4ygT5l5jrkaq5/oLvmSKJA97GMn570gfwABqcbmRkZNxd6BM9/nQ4Jxj3sZLfXQZDXhO/B7xJHy+p2x9w== X-Google-Smtp-Source: AGHT+IGayBBznF8SHsuuVJ6WvRbRWDMCe7fCfOS7SXxO8Zhr6loCj0iRJDymq5rH4dEg3xYRWsA/ X-Received: by 2002:a05:6870:a2cf:b0:21e:5ca7:4dbc with SMTP id w15-20020a056870a2cf00b0021e5ca74dbcmr16130828oak.12.1708458178248; Tue, 20 Feb 2024 11:42:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708458178; cv=pass; d=google.com; s=arc-20160816; b=UriIKhkuN/xaW3iMRG1K1kFNIRDkQqnfWSOui7YCwXoKLXeJC61vUCEHDTgtt9K7ZX q5TIsoGcdzflI8XQnFmCO5sRSxfBuvU2MqK0jRJeJ5mrF+qlpZFNoNYtLeqsBfMhP+oK JODswXdE4n/nZe7bMQAReeMhY/0iYpoS4ySu81WQBW+HlfZpiiZuE0VttW8rNcM65qmK DCZzm4hLNnZNbsmekJY6AU7wVtU9wFCi7jAugAUvNZEiVYpQh56snDo3Yx9mv5zxVKGP 1zjduI14aiirmNIkL/uGrkKc24S832PacvywdUoondh3OZciMT/LF3s2PNlM9bNnouRe CcmA== 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=cefndWnWlnkZu0zNS4lBmKWOmQgRBYbwHHR9OgxN/iM=; fh=EQLpQ1Xiks6mZgZeISf7+q+xg/MW5NRUDbdFFVYPfV8=; b=quDdMXyqjlDWpz6YV21U89TPw32EFlHZ36q4RBOSK6dVQT7/+VoO/u6W0Gh0VlZyvR Yimam5G1gG8nvWN9ZqN3kJtkkB+679ki5UfSG1Qo9nydYQCuyX+p8Tdudo8lUbbVe8cw QKqtEUzTI0rrGfbHWxdfRev91mYw7Ky62mS9jt/JUtFw5VJTYy6d/ZYHhcCORAdEBHaq ihXoUboFWus4uIEEl6akTvmHb/XQzgEQyE8JEFRRAis3z+wpqcybtq3SPSxS6dzmzF15 x0GmXA7VP9UHsSqPTzbkOtoAE+3bEMuSb53DUNBG4sOfLkDg9xXxEYYopmEs5pBuYuy4 E4Kw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ulZyEFKD; 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-73606-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73606-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y62-20020a638a41000000b005d8e36d9e11si6717235pgd.149.2024.02.20.11.42.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 11:42:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73606-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=ulZyEFKD; 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-73606-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73606-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 0B5BA287319 for ; Tue, 20 Feb 2024 19:42:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFA3514C5A3; Tue, 20 Feb 2024 19:42:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ulZyEFKD" Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49]) (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 2E3D9137C2B for ; Tue, 20 Feb 2024 19:42:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708458135; cv=none; b=Z64SDciqZKGyb3rn+f/vh6j4M5EXcNENFaidhrnTOq0ls1dKVISVMTqeXf8CrFkuXbCfqUAfJjNRcVU7gXcvk4L7QVmlJ72HxG5E9Zg0L+SYgyR1i3rvM98fP4ylzTe6jBv1JPFnfza5Le6iNGNWvBZ7UXLjd+aZ9EKQDxzWUbc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708458135; c=relaxed/simple; bh=yQBgEnrWranhXHywY9vHSFkYnjxSnFo7XQhXssWBUOQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=N6ii4MAx+9XQ3wUR6KgrYIeWRqfflgAm7+MrRxUVlMNHXZm7KbFz+chomjcdfbVISgzYXu4vK8WW03RlDuZ99GusyKFs787Csq+8wLKGoB0XdXmaqfjK4MYDzQdxEFk+oD0Q0GbKZ2e+f4bJ44mxACaJ2l9Pcdj2BsCSNyZPvHI= 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=ulZyEFKD; arc=none smtp.client-ip=209.85.208.49 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-f49.google.com with SMTP id 4fb4d7f45d1cf-564a53b8133so2614238a12.0 for ; Tue, 20 Feb 2024 11:42:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708458131; x=1709062931; 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=cefndWnWlnkZu0zNS4lBmKWOmQgRBYbwHHR9OgxN/iM=; b=ulZyEFKD6EPf27y05QZ3LdnwJ07SFgl1obyqPg/5878LsqSsHR99WSsTmWPIX+tCNH EyGlIpH5WBPO5sTzkBUX7+bDahtyKN5NfqpOZUwBZzBiT5ZuR2x5+/th/IhnTT0kGvpP AnVTFFv3FPOdwlLBQ4nTWdDQkNh7+gFH3tBftaKNmOupOM+YSumQcdcPgcaGrE4De6r7 rI/QnyBPZ4voZd/trwgMD5fLoc5OgSBEvM0A5anVIqH9UsgAv5pTauc+tKHO+s20NsG0 33QMW2xVMg6UGo/j0KQ6u+HTovQLzsk76phUtIQ84k3Bk3QVoM0ba4Y/V7v9LKRnjp/T asXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708458131; x=1709062931; 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=cefndWnWlnkZu0zNS4lBmKWOmQgRBYbwHHR9OgxN/iM=; b=dTp6eYKgwqtVLuRK9tBzoXH8Efb76pE/eFRLgMo3wc11Rg/vj0RB9yo8HVI5tHOXWm zDSjviw/Um2JiF2dff7SQqE43csC8+4dUwSh4trkyUTCS4n3Xcv0vWoOkEv5cfjJqCRG oi3PeFGjjf8vBe2e533mG1EAjKv8KguQINPl+djiD6g0bS/K7nFIxgA+emQZ1RiH+1tG knWi1P6W2v6YRcaX3QPq65yTeZl91pz8OOitcYojMvqi1Eg/DbTCmmv2sStNFe0xS8y0 0Imqq0v37Yut44yBhzWGOqyKCSwH+Wgq/v2r03GK8Z1wWYGKdR+K8ezyNVu7iH0y6et+ pOTw== X-Forwarded-Encrypted: i=1; AJvYcCV2+a0o1qX7E9Cb0sD4iqIjwIpQNnoxMYELXDYxvJYnc+htyX2C6BXk9+xilw+uDb5r+ZR2nPTEdqepskL2Db8E49c1GtY3f6Fpd8G6 X-Gm-Message-State: AOJu0YwZ5Yw7bEt19Nthz8uE+FxQzfALgg5fDyMBmWivxJaXbKogzE99 e/ONZNHppBrSUqG9SczEbCiaHEgldSRQZNR7Ub/YSCl/kBkuKKub5EptIsRn4mo= X-Received: by 2002:a05:6402:1812:b0:564:aa72:78e1 with SMTP id g18-20020a056402181200b00564aa7278e1mr3009925edy.9.1708458131663; Tue, 20 Feb 2024 11:42:11 -0800 (PST) Received: from [127.0.1.1] ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id c1-20020a056402100100b0056486eaa669sm1906822edu.50.2024.02.20.11.42.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 11:42:11 -0800 (PST) From: Abel Vesa Date: Tue, 20 Feb 2024 21:42:00 +0200 Subject: [PATCH v2 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: <20240220-phy-qualcomm-eusb2-repeater-smb2360-v2-2-213338ca1d5f@linaro.org> References: <20240220-phy-qualcomm-eusb2-repeater-smb2360-v2-0-213338ca1d5f@linaro.org> In-Reply-To: <20240220-phy-qualcomm-eusb2-repeater-smb2360-v2-0-213338ca1d5f@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 , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1847; i=abel.vesa@linaro.org; h=from:subject:message-id; bh=yQBgEnrWranhXHywY9vHSFkYnjxSnFo7XQhXssWBUOQ=; b=owEBbQKS/ZANAwAKARtfRMkAlRVWAcsmYgBl1QCOsvpeA12TseJU8wVK6azL/7odjn1y+z4pT hELsVlbi/GJAjMEAAEKAB0WIQRO8+4RTnqPKsqn0bgbX0TJAJUVVgUCZdUAjgAKCRAbX0TJAJUV VuTJD/40UpHjsGTXtRxxlIRAU8T5L1PPlX6WdB5ROP8vudqC5CxUzRmQYXquNv1WAYcjt4lepgB MNAsAvmyzZ568/HeFBxszkWIZfHvF/um6yHxJVlh5hqsGH5Tx7JxpevML/WRe3VV6+g1j5Ht61D LvR2D2AA/aCuvYWri8iYN8FZJTEyyb+/kyYHhyjZfntShlLL5lkspnlRTG12LYbvdJ7rG9WE8rp HSy3uWvpR/iLAhxdErvUKUv2aiSqHp2TFABI/mYgZ1lKoD6WY8NolxNEiqrWQezJ7g5aj+cRUoD RiluT8lbRHMgf+8rrLX16DhfmKgLRTd465f9LxSge0zog1Lapt8RULuDSDYbRKVPJEONcHxzeIE SSPd77bxXYxjzJcB1SwiIX6bZ9XOmLPJ33r3KhzTNvCrkiZ684uT2wLRNI70olqnBE1vNl70AI3 0Bg4ENF0XyzKbtF4RhinoDaGh9ttP4tSgZByp3gZBotHVqJJRM8Ka8AHu8l434s0Uk7ggYJuF8C 9QFl+6CMN3R8SmnrvDJefbfXnnHj8tySYDJMR3B3XjUut8dRHlZAsPP9kwH8G2cerbrz5HXh7lY 7TeyQNCrHiBm+d62DUy39YDVkaxQm9auYx5/+5eM3nTMXTPCyvODgmrwbhlh2p9GbcxkavHseG+ FcBCArxwb8ESl/Q== X-Developer-Key: i=abel.vesa@linaro.org; a=openpgp; fpr=6AFF162D57F4223A8770EF5AF7BF214136F41FAE X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791448242614142419 X-GMAIL-MSGID: 1791448242614142419 The SMB2360 PMICs contain the same repeater as the PM8550B, but requiring different settings, so add dedicated compatible for SMB2360. Reviewed-by: Dmitry Baryshkov Signed-off-by: Abel Vesa --- 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);