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: 719234 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 40260C83F15 for ; Wed, 30 Aug 2023 21:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241506AbjH3Vas (ORCPT ); Wed, 30 Aug 2023 17:30:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241517AbjH3Var (ORCPT ); Wed, 30 Aug 2023 17:30:47 -0400 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4A68E4F for ; Wed, 30 Aug 2023 14:30:16 -0700 (PDT) Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-99c0cb7285fso10613066b.0 for ; Wed, 30 Aug 2023 14:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693430878; x=1694035678; 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=n+beAyy2w35v7beXwroht4oyWWO/he+8vFscEEHdK5Pek4b+lKNzeCVMviAuICNvIW hFQWPdbCTN8dXcYeMsO3lkYwcbVc2+Vp5E+6bN5hIrY48ewssRB9KT/Ot70YsmT6JINg yVUMhZfkanNVkvn2hkdWzfnBgkPeC6mnxIx6vQtTyqSeL/sMy+q1FK/Gu7cRS6KRxXZl YpZT7RWqW4sRGWl5T+oSEwazxP7gXw8zW+Qu5dAFsybY68GGIiIjPRQzPUVRF5DfpBIe /Io+6acad270BZnNn+u9NzMLvoYZ0NQPsAD4Ci3JV36FTz5p5NsQF7N/DzTakBkoTCOr K5yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693430878; x=1694035678; 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=PLuEjMbDgeHVRqa4fnNmLe4yW3bBeu1Ox+Csr0G8NKzAyVr21ZKxP6oSsdrjwu//4u OuCVFPNm7zOY8cYUn66WI2xgiylMCEGeZTBxFBzH+lOy4Xvz6nusjjAzI+LIW7IfoRkg YkowxltEOCetl17ndY5OX/VJdMhXKznczHwLX73r0Y38CsJioLx4QhaR/ITtx958XK26 IlPxZmOk2gsLmvDv6uzGXZu6n8nLS03Qx/1KG4BtBusptWvkad1x9iTsnLXxbaYn0SwW MUdVlbpGPUD3U82SfHbsJFXlRpcEi/r8jGC/OPxv/PbXftJTbmgWE3dHj1rCo4CHjGfS wZVw== X-Gm-Message-State: AOJu0YyTZPZssw1zDVlq3aENrEvZ+u0jJxd9nA2RKoI3e5tRyiu+QK1S I3ePe7fvHK9nt9NSAlj285LeqjNkkz9rcjeyvhUfoA== 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: devicetree@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 --- 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: 719233 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 767BCC83F14 for ; Wed, 30 Aug 2023 22:35:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343830AbjH3Wf3 (ORCPT ); Wed, 30 Aug 2023 18:35:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237283AbjH3WfZ (ORCPT ); Wed, 30 Aug 2023 18:35:25 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 501D71A3 for ; Wed, 30 Aug 2023 15:35:06 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-99df431d4bfso14618466b.1 for ; Wed, 30 Aug 2023 15:35:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693434904; x=1694039704; 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=faifw6qS1JY+TC3xJRF1uAkRxOqg+2Us4+O2j6Wl35MTvPLCvx1HNg3EGlN8g4giGI GjeZ+f0g6SlcBIWhonw9deuKKQKYjGTCE2xsGa4RTVDv/kqq3hG0zAncZ/kdc754zYPj 4FpCpgewLF0QdT7n/yBAU7HiwPfziUe0artqWdnK6+PeSkb4ou6bsPDgJoFdhW1JLDUk sCEHJHtTqFhOaeLeb3MWCR1NzkiDxipRlKm+3QS0AWOkhmxqGMDs1CatBW00hbJ4nT4p QNKYiKIubASLh5PCVpQlvFtOuPfczjQMc8EPVWFnUu+A3tmgQNDE3yONvZRufzukvida 8MZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693434904; x=1694039704; 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=gzqnPqY0T0bjw3UIzXJzuqvJUcwG5yTjtWuAKETNiMa9EAiXBpJdJXN943U4h7zaZI yZDcJHnv0nEq3BsxZyl+dijjGVFiV8oQP31tO9JQHjm2K4+uAC6mxx3+7lns69uGjBRl D0YyX73uuSepv/V5vZFpuoJm+33oQ65/9h8jCSXDsMEQrEZkA/Nx2of72odj4HLY6rbC eUC5fk2l4im6UR5cbRKGddksyis2uZ2Bk8EbmoC4WCsSashr53MTW3ncmZpT58h768UQ seM5TPXmx182+7gEU5LoaYPzvOh0cLmo86xE9ZCnJTz9Nye0k0DVTKvj1mkTm+4+EYn3 tDNw== X-Gm-Message-State: AOJu0YwXcBSnV6VZfNPq48K2Ah6NeRqvkjo6GJIropERpTCXBX12gujc rJ7EELKQgMusxNCf7nJIqzx3rN0N3T2IhwjtSTeZ5A== 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: devicetree@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)