From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0F784C2BC11 for ; Tue, 15 Sep 2020 04:42:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C94E4206B5 for ; Tue, 15 Sep 2020 04:42:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ToH3Ovt7" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726183AbgIOEmI (ORCPT ); Tue, 15 Sep 2020 00:42:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726157AbgIOEl7 (ORCPT ); Tue, 15 Sep 2020 00:41:59 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E671BC06178B for ; Mon, 14 Sep 2020 21:41:58 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id o8so2018066otl.4 for ; Mon, 14 Sep 2020 21:41:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=I/ZnzMpFblwaWryRS21SJ/GyazzhCSsArSdcbBdV5LQ=; b=ToH3Ovt7Gu16Tk3FQija82rEvQjY97itvmMTSLJvj2ztm8dAoWTTAeQgvY4s2GPy8k 3czF78ECJQ4Yb1DPXtMOOYwZchibDTSdlyDtvrRQiGYjtEs1mfbnXOaEm6O81YrY3tz9 Ch2tso6Wt+mHTsPcmc8D/Gd+Qdf+2+sh6voSL/Y8vfnevbHb737qHzeBKul0lE/X9DVN U1vToegbxuDVL4xMNZeDzjR4uENEwFa1JaO59bITPBZx62vKbhrmC5OTBv6xx44fsCFs d+gjm5eBuF2erL+0H3ko5zIlLzdBcw22leurTGk+55scHWvrolRzqXgANPg2gHsTE+YW InZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=I/ZnzMpFblwaWryRS21SJ/GyazzhCSsArSdcbBdV5LQ=; b=UUKY2MVWAjc9v0SXk0rsHcf+MrEKSb4uCcfgY+lG41p7+bFX5lEoFL/HOGYgHfIC1O e1elVmjnGPw28zf3NeA/Ah250rXErLOpfLw7WdRSEbwscWaOfkvyizB0Has0cHxxvav8 otpwQJgP+GRoTeeiHbBEfhDwWWSWvQd6qr24SZ3DwbvR+gx1QmqDci3W6pDqDAaUMLFA MgewaPaIxWeiL4mHv2eaYxgnZ1rIacF60cJUxG+h/IaL4X/OkFlg/73ZI9/Z90nM5jJY 9md2iY37Cy5i2EWwI1DsZnJekQrDLgH3t5WLOzOj3EelkxLpE6y0D9iwb+VACyT70TrW majA== X-Gm-Message-State: AOAM533SzJg31w91Gxe9j8SVzEm3temfmRtW0hKAYjOKqGmstMGWiL6I RmdevhXMz95NlQ/9ErrY6+jAoQ== X-Google-Smtp-Source: ABdhPJwsjtbia2zRcFgxcthB6iDRW9n/DpQMSzL87iGZhXFNS7DLpTSgAV4OiMmIDfzMCuhg3ZKQyQ== X-Received: by 2002:a05:6830:1653:: with SMTP id h19mr10617054otr.147.1600144917697; Mon, 14 Sep 2020 21:41:57 -0700 (PDT) Received: from yoga ([2605:6000:e5cb:c100:8898:14ff:fe6d:34e]) by smtp.gmail.com with ESMTPSA id i23sm5843654oos.17.2020.09.14.21.41.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 21:41:56 -0700 (PDT) Date: Mon, 14 Sep 2020 23:41:54 -0500 From: Bjorn Andersson To: "Bao D. Nguyen" Cc: cang@codeaurora.org, asutoshd@codeaurora.org, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-arm-msm@vger.kernel.org, Rob Herring , Avri Altman , Vinod Koul , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: [PATCH v1 1/2] scsi: dt-bindings: ufs: Add vcc-voltage-level for UFS Message-ID: <20200915044154.GB670377@yoga> References: <0a9d395dc38433501f9652a9236856d0ac840b77.1598939393.git.nguyenb@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a9d395dc38433501f9652a9236856d0ac840b77.1598939393.git.nguyenb@codeaurora.org> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On Tue 01 Sep 01:00 CDT 2020, Bao D. Nguyen wrote: > UFS's specifications supports a range of Vcc operating > voltage levels. Add documentation for the UFS's Vcc voltage > levels setting. > > Signed-off-by: Can Guo > Signed-off-by: Asutosh Das > Signed-off-by: Bao D. Nguyen > --- > Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt > index 415ccdd..7257b32 100644 > --- a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt > +++ b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt > @@ -23,6 +23,8 @@ Optional properties: > with "phys" attribute, provides phandle to UFS PHY node > - vdd-hba-supply : phandle to UFS host controller supply regulator node > - vcc-supply : phandle to VCC supply regulator node > +- vcc-voltage-level : specifies voltage levels for VCC supply. > + Should be specified in pairs (min, max), units uV. What exactly are these pairs representing? Is this supposed to be 3 pairs of (min,max) for vcc, vcc and vccq2 to be passed into a regulator_set_voltage() for each regulator? Or are these some sort of "operating points" for the vcc-supply? Regards, Bjorn > - vccq-supply : phandle to VCCQ supply regulator node > - vccq2-supply : phandle to VCCQ2 supply regulator node > - vcc-supply-1p8 : For embedded UFS devices, valid VCC range is 1.7-1.95V > -- > The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, > a Linux Foundation Collaborative Project >