Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp456660lqh; Tue, 7 May 2024 04:43:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtJssjsaknbi87n0hX1Y8MoW/9ZIb5yGXg4sZifLDsJcv1ShnE9TYJAPTRsRTpneO9cSXeO6aJEA0zYEP4Z105LW+B6TLfSOxKuRxZpQ== X-Google-Smtp-Source: AGHT+IHytwuqEDUkRgp+6HEXCaiKmE4+KNwMONyiTvXzK7JpvgOUc0kbNNilbsSQnv82QC4QX8w8 X-Received: by 2002:a05:620a:370f:b0:790:96e8:5bfa with SMTP id de15-20020a05620a370f00b0079096e85bfamr4728111qkb.4.1715082210142; Tue, 07 May 2024 04:43:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715082210; cv=pass; d=google.com; s=arc-20160816; b=z9xxZaP/3oQHti4c66/rXGqM5ZcDT6l5SjlSjwFN9r0V8qMlj9tWmAwEDv0z5sRWwg HQ8IbHHxH8O7hB0+AAgJhR1DyomMGswpOSd+j3ubLw+G2eHTgXfs5kK9UsxogSnI5IN8 gERL1fDhbiZPB7O5pQhEXeZRTc3gx6X6c3hsFfFDA0xeyt5RQea0qlASBtF/bkxifFLC sDhclOamZerBZBudNOfIRyzNH5aWSzk/YzhnTfpYWu2C6uknKcVgCtVxOS8B/2e2UdE/ Sh/ZEkW5wESYGrBRFX0fRPwHPg7SDgrVgq1NDVMonH8AOXwhXUxD9SMOhf7XfZp8f0D+ OnQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=vCCDWmEOxdrYyg03QGM9HCNXy8fqBDtdzIoCPdDROW0=; fh=GWWnhxw125i/+WCOXJkcwsaajELeY0E77awCHUJBvwU=; b=oJa2w+jlzXNVqWZdD8dOiwpqj3Cu3BaapUGY2ozX755a944OhCWU11W7YtVomnPYRl 8gBVxWulhb5U29BHojC8fcZmFpQxpGmos4RwtEfWptvr/SEo+RG2hvHHMJnKMDfGbspA UrqJLLN6Yr+GsuQgKWJIZlY+aWYWB81pwaQdrZZgGMKjj27d+i6cZGFCVu8gb3Z6CqOH E7BYZdD+l5huqiSldt1S0gvjc2zDMFUiDl1LOma5rxjTPRbf49CgJoVk9zjyITOM1bVc E6AFH+2GAlT/mLJKK49WEaKfF3kMMEP0tcsbdsEhIFI8jKhCVsQG/Dp9UcF6Mk4mFuUV nXGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YX7+LXtT; 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-171212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id wi16-20020a05620a571000b00792a493b200si2364258qkn.73.2024.05.07.04.43.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 04:43:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-171212-linux.lists.archive=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=YX7+LXtT; 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-171212-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-171212-linux.lists.archive=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 902581C21B4C for ; Tue, 7 May 2024 11:43:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D561B153579; Tue, 7 May 2024 11:43:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YX7+LXtT" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 67B4F15252F for ; Tue, 7 May 2024 11:43:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715082199; cv=none; b=trGqbAQ6+0KMiKj3bUn1P5G7YoZ0gnf+rYMxQq+S++r9G+SrkF/I7DzGdsYAM91zGX9J342FkZsQtOIY73Y07qCyoL8CvgvUaqGogS4qrgSPE/pwfkOfHltveJVKKTDHh3PID4XQ9q1EFIzT0WaZfvoWu9MLp0VxI6JmDCYAw1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715082199; c=relaxed/simple; bh=nJmQfa/G63amUHNoyNPPruCS1yE59OplOKYnfKXgiM8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=c6xI97VO8xlrGcb8gWl+03V9n0yUL9E6jMFa9FT4sF2dwZoPL4tLCNDT5sKrWzdQRnKjJsimpSlagOMN1sGT55ngWgaQWDcc1wCvUa0o+rFug4CojQRiilmk5zj4vGqwTH7HF9LON/FrS3k7Ck+F4yGdMG2D6ktel9t2YjvHtRo= 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=YX7+LXtT; arc=none smtp.client-ip=209.85.167.53 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-lf1-f53.google.com with SMTP id 2adb3069b0e04-51f29e80800so3310523e87.2 for ; Tue, 07 May 2024 04:43:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1715082195; x=1715686995; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vCCDWmEOxdrYyg03QGM9HCNXy8fqBDtdzIoCPdDROW0=; b=YX7+LXtTF5V7RKwwlL+PLYY/0BXJ5KWbXgprejd3wFVd1HU7X4eIEzoQ0ZC+j0aydy RtGtkscZ2CThkKXGSugkEnZJ+3cqlo85qD8ZpFT0EIa6Jc+WwJ63iGdbHWy3+rQufRFd ncOIZu2HTRd12OjUTCY9pYSH+aRQ5Qa8gdSBD1DCBx3JJq+k/IiVPKkxYvfxknbuokch aSxsYdB3Q/JxxYK97vRv8+KQ4Q1B+/z63JNdAzs2xii0BAO5WocndJcXo6WjB5/4ipad /7nWI75U61ZCqSPOyXofn3ZsQ4GKxu7mGnvN1i4l7xs0fq4/H4dv0IoSaHUUoWHAWdf6 9v4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715082195; x=1715686995; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vCCDWmEOxdrYyg03QGM9HCNXy8fqBDtdzIoCPdDROW0=; b=my/meqF3nSUo9GL5WSKdQptuH87iYTBbVIOMQ7eiGoN/M0WfnckbrgFRWhjyuHcMzT w7Bt2+zQlrpGRHrEBJKYaaL0913kTNXPK8uLjU9bcUpJspuqbEdbmtghHIkVHjrFj+JO ghOFo881WmUdyzHMdJ57+cpN4r5SD5ZIFb+CeMcpIntAoXe5FI+hjYvgmfzwYEvR6p2m 7Sf7zMw+9BEE6mZDIcGF7KYhlWaY2Wrc5UTBuMkX/nSs8jjCRQo3slSbEoq7qof49dp8 n+oDUnAwUMEiIVDDp5PoAKDRJ3O7hFri7sqthMEo39HQV0ufA/BeABbFVvMv6lARJzqn nTjg== X-Forwarded-Encrypted: i=1; AJvYcCXg8AGri+QeVk78IWBzeI4ejt201qfc9NWZx+aifLddp4ZQEkcUqQxA8D9UFKElOe+AOw/fCRV7q03qmLdue2A8sM2dazSTC4JHS4Rk X-Gm-Message-State: AOJu0YwEv7YHh7PZv3veBU26Apw1C3XDsCvmZms9jE//dMNow0hII3/D fxc6AESz96YIp/afzs+WXEEuYvq2DSpdwvFYhmRtTOyZHada4WWjEIFPRDwLwSw= X-Received: by 2002:ac2:58cc:0:b0:515:cfaf:737 with SMTP id u12-20020ac258cc000000b00515cfaf0737mr6627843lfo.9.1715082195460; Tue, 07 May 2024 04:43:15 -0700 (PDT) Received: from [172.30.205.144] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id h2-20020a19ca42000000b005196e3e8a84sm2121235lfj.177.2024.05.07.04.43.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 May 2024 04:43:15 -0700 (PDT) Message-ID: <90a5b641-af5b-4640-b2ad-85dbbab523bf@linaro.org> Date: Tue, 7 May 2024 13:43:13 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] phy: qcom-snps-femto-v2: Add load and voltage setting for LDO's used To: Dmitry Baryshkov , Udipto Goswami Cc: Bjorn Andersson , Vinod Koul , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240502123312.31083-1-quic_ugoswami@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/2/24 15:12, Dmitry Baryshkov wrote: > On Thu, 2 May 2024 at 15:33, Udipto Goswami wrote: >> >> The Femto phy depends on 0.88/ 1.8/ 3.3V regulators for its operation. >> If one of the regulators is not voted to the required minimum voltage >> for phy to operate, then High speed mode of operation will fail. >> >> On certain targets like (qcm6490_rb3gen2) where the minimum voltage >> of the regulator is lower than the operating voltage of the phy. >> If not voted properly, the phy supply would be limited to the min value >> of the LDO thereby rendering the phy non-operational. >> >> The current implementation of the regulators in the Femto PHY is not >> setting the load and voltage for each LDO. The appropriate voltages and >> loads required for the PHY to operate should be set. > > Please move min/max voltages to the DTS. There is no need to set them > from the driver. > > Also, is there any reason why you can't use `regulator-initial-mode = > ;` like other boards do? The point is to aggregate the values and switch to HPM if a threshold is crossed (or stay in LPM otherwise) Konrad