From patchwork Wed Aug 30 21:13:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 718650 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 235ABC83F01 for ; Wed, 30 Aug 2023 21:15:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240905AbjH3VPe (ORCPT ); Wed, 30 Aug 2023 17:15:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240943AbjH3VPd (ORCPT ); Wed, 30 Aug 2023 17:15:33 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3554EE69 for ; Wed, 30 Aug 2023 14:15:01 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-5009969be25so424437e87.3 for ; Wed, 30 Aug 2023 14:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693430035; x=1694034835; 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=UyTb34CC8o6Ht8AgxrBaKUd8noms1JfX94fq0UgPdCI=; b=OhxsDMJs+zPANSO1W98EtqVJlEn0fFRw3GEM6pEBg96BlJaeJJFipKKid0HhcaP3Kp R0zrJSOKUY/9Ch9kCPSiSzu2sRmKaJm4+hkWZ1KdeWmUMmVptjCDq6tcWYbBOMvKY9bE uwbDrHd85++bYG/rKc2JKk97va8y7A2FCns68bySmg2XGsMAux71kBWrCBBrA802VMwe keU42QlZGjmTJmqa21GJ7OmHyIZSYK5AWQUPFwxE6JgUq5tlii110+azTmqjlVXM8XX9 JPs8zPC9Yz4K2SsnzjcwYcLX5w9R5FFTZVBuRaKQQH4zJ8Tu3e2tnPksEoPV4/3kuQoM r0kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693430035; x=1694034835; 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=UyTb34CC8o6Ht8AgxrBaKUd8noms1JfX94fq0UgPdCI=; b=XCpds8HPxkRXMKxSdPZu8GXhrO/xcDFeo8JgWUYc4tEsExhJKINN1qKtpAaeuBDAv1 LfEly/ebg9ppGzBqKs/pGeOkSPRXa0eKf/7FxZDxz+4FYYjy3YzHvsnXvlEPPD+6v0RI 7zZi0ja238QM+Kfre7RthDGlnk8VIJ9YDh7Kpc4wNhIBDIjeDb4WJac4ZGDrKkRHhRYU P6S0r+ktuidE2VDJ2SMw0iVMFXVgZ4Q19nFklvwt+KTnMMi7xEjQa0OoS+MQGUBWrpV+ o8yUmQLfwtNKrAJi9lNJCa56DmZjNyppHurx6Rgk9XLxf2Mn6C7tN9UqeKgDUUYTBfcW gHDA== X-Gm-Message-State: AOJu0Yw9HmCqWreQceEVoA6aj5mt+/DT4T8/9NzzWsOEDY3e+L/X8c2d fCnKqfERS2RRVhn/+3CxmLV2jg== X-Google-Smtp-Source: AGHT+IEzmGKuK2006TWdjdLApsy6n7D2FXVYkf7FTUBXVsxQ81IWEUBLq0vJch02O7U6IiqOWnnJWA== X-Received: by 2002:a05:6512:3c8b:b0:500:5d5c:ecc9 with SMTP id h11-20020a0565123c8b00b005005d5cecc9mr2813219lfv.62.1693430035654; Wed, 30 Aug 2023 14:13:55 -0700 (PDT) Received: from [192.168.1.101] (abyl195.neoplus.adsl.tpnet.pl. [83.9.31.195]) by smtp.gmail.com with ESMTPSA id b3-20020ac25623000000b004f37bd02a89sm2516351lff.287.2023.08.30.14.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 14:13:55 -0700 (PDT) From: Konrad Dybcio Date: Wed, 30 Aug 2023 23:13:51 +0200 Subject: [PATCH 1/2] dt-bindings: phy: qcom,usb-snps-femto-v2: Add REFGEN regulator MIME-Version: 1.0 Message-Id: <20230830-topic-refgenphy-v1-1-892db196a1c0@linaro.org> References: <20230830-topic-refgenphy-v1-0-892db196a1c0@linaro.org> In-Reply-To: <20230830-topic-refgenphy-v1-0-892db196a1c0@linaro.org> To: Andy Gross , Bjorn Andersson , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1693430032; l=921; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=vz1a+iPTk87wOT0fjsMmHkhaWg81ePPnVEq7IVR09VI=; b=DeUqTuNNnWAlhWqgl4R5rZoKMeEWwhxo81jSLACtmX0W8ScXz/2107XWlPhOWn21pFFsePvgh IoQZZ+Zu85uBLJt03N/briK2+2TsjrZ++D8IVfgBxSenH37ey2PQ9lG X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The HSPHY is (or at least can be) one of the users of the reference voltage generating regulator. Ensure that dependency is described properly. Signed-off-by: Konrad Dybcio Acked-by: Conor Dooley --- Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml index 0f200e3f97a9..e895b6c4ee49 100644 --- a/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml @@ -53,6 +53,9 @@ properties: items: - description: PHY core reset + refgen-supply: + description: phandle to the REFGEN regulator node + vdda-pll-supply: description: phandle to the regulator VDD supply node. From patchwork Wed Aug 30 21:13:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 719092 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91AEBC6FA8F for ; Wed, 30 Aug 2023 21:28:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241262AbjH3V2c (ORCPT ); Wed, 30 Aug 2023 17:28:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241279AbjH3V23 (ORCPT ); Wed, 30 Aug 2023 17:28:29 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA52A110 for ; Wed, 30 Aug 2023 14:27:57 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9a5dff9d2d9so8548666b.3 for ; Wed, 30 Aug 2023 14:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693430799; x=1694035599; 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=lUJsE/IbwViG0qWxyMqWmvpU5f67FtToTgIAN58/gnQ=; b=Xu+6OsveRe7OH1otA+C++OsUsGVqTCIg3tnYTIilHYZPj9KsKqtI2xX/sp9wEo036f FUqVL70mpbIIocDtwWhLAL5Gbk2AEI83XoKd4nEn6r+XQoYHH7VqPWvsmAteRxld7LE5 Vqgdk9mIb9vSRkiYDRjqPArSm2x00M1/6RJIdqei9EqFutgmBFZTAWDRJYhc8DXAs4OL kHxn5EvRy/+R7V0hyHAvqHtrulkB3I6u/7/kbozMGiqHNTzShblBoUwQOdluD6v2Dmwu Ge1sLxgPjT7kiI2g0pb9l0PxtpLVSKKY5OA+xeq+e3sXPxAfS9qdsuCBYvwgKav5nkgc eYDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693430799; x=1694035599; 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=lUJsE/IbwViG0qWxyMqWmvpU5f67FtToTgIAN58/gnQ=; b=QQSiCLpsSxTUmpyJRc1kANDBv7zyuDaydBa5xBflvRfoQiNiRH05qdCKOGawajgBCm g/Kk87tNbu3NoDgwUMAaUcunFMxjUmg/oA836VjrLzjKxSGdm7b0KXtUblHPyYjFaDwR HaeoS+cmGTnVQb8xtVizIirzJMoeCqdbP5w+rhpJLtGIWTyReRDNyFV5Z6SgWV6rQvu9 ZmGILfbJ7TogKH3i7yh7nUMZ++AKdTXIjM8h1GCMgn2adRT+Zy/ZjsTb4abaB2cWE37m I274Hs2UHRB1C7Hc0inaP5gdjcvWKQtPqiGBZsCLz+XJga5INg6WKspFAKp6Q0O5LPb3 eAuw== X-Gm-Message-State: AOJu0Yw27Z19CnWqDUeeKAed2Zga4cIyAXeYQMMaTIQ84Erb6W3TdLey dy5qliNvkdiNfeiZuH4wmgDEf4GiBn7smSKYjgBN5g== X-Google-Smtp-Source: AGHT+IFuvtSZyC/ZyAVYMYRqzuHbaGDwuwbCQZ6x1uKvm1iYzoVAGQXN7HtASDV8xE7fWPnZS3n/IA== X-Received: by 2002:a19:e04a:0:b0:500:8f66:5941 with SMTP id g10-20020a19e04a000000b005008f665941mr2475516lfj.50.1693430036872; Wed, 30 Aug 2023 14:13:56 -0700 (PDT) Received: from [192.168.1.101] (abyl195.neoplus.adsl.tpnet.pl. [83.9.31.195]) by smtp.gmail.com with ESMTPSA id b3-20020ac25623000000b004f37bd02a89sm2516351lff.287.2023.08.30.14.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 14:13:56 -0700 (PDT) From: Konrad Dybcio Date: Wed, 30 Aug 2023 23:13:52 +0200 Subject: [PATCH 2/2] phy: qcom-snps-femto-v2: Add REFGEN supply MIME-Version: 1.0 Message-Id: <20230830-topic-refgenphy-v1-2-892db196a1c0@linaro.org> References: <20230830-topic-refgenphy-v1-0-892db196a1c0@linaro.org> In-Reply-To: <20230830-topic-refgenphy-v1-0-892db196a1c0@linaro.org> To: Andy Gross , Bjorn Andersson , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Wesley Cheng Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1693430032; l=869; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=rkGvm/uP3o+BPrXZ9OASaeUpr1X+J5fisqT1wJhd350=; b=nSuP6yC0wDbMiE97URjPi35b+qJ0KBMSeb/782bW8hUoixfduLz+NGIGXGWm0pI28AQBW/tWH CKJTBw7V3RlBkF1jGQOQXgGAKe5MgezRkaYRhIKsZrClHrTorwABIaa X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The HSPHY is (or at least can be) one of the users of the reference voltage generating regulator. Add it to the regulator bulk data. Signed-off-by: Konrad Dybcio --- drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c b/drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c index eb0b0f61d98e..2bc9aeef26f9 100644 --- a/drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c +++ b/drivers/phy/qualcomm/phy-qcom-snps-femto-v2.c @@ -79,7 +79,7 @@ #define LS_FS_OUTPUT_IMPEDANCE_MASK GENMASK(3, 0) static const char * const qcom_snps_hsphy_vreg_names[] = { - "vdda-pll", "vdda33", "vdda18", + "vdda-pll", "vdda33", "vdda18", "refgen", }; #define SNPS_HS_NUM_VREGS ARRAY_SIZE(qcom_snps_hsphy_vreg_names)