[{"id":1773631,"web_url":"http://patchwork.ozlabs.org/comment/1773631/","msgid":"<0540562c-889d-bced-d36f-a08f3d40bc53@samsung.com>","list_archive_url":null,"date":"2017-09-22T14:15:36","subject":"Re: [U-Boot] [PATCH v3 0/2] power: Add a driver to handle the PBIAS\n\tcell of the TI SOCs","submitter":{"id":8006,"url":"http://patchwork.ozlabs.org/api/people/8006/","name":"Jaehoon Chung","email":"jh80.chung@samsung.com"},"content":"On 09/22/2017 12:03 AM, Jean-Jacques Hiblot wrote:\n> In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1\n> IO cells. Without this bias voltage these I/O cells can not function\n> properly. This bias voltage is either 1.8v or 3.0v.\n> \n> The first patch adds 2 functions to the DM core: to count strings in a\n> stringlist and get a string from a stringlist based on its position in the\n> list.\n> The second patch implements the support for this PBIAS cell as a regulator\n> driver.\n\nApplied to u-boot-mmc for pmic.\n\nBest Regards,\nJaehoon Chung\n\n> \n> Jean-Jacques\n> \n> \n> changes since v2:\n>  * rebased on u-boot/master\n>  * automatically select REGMAP and SYSCON if PBIAS is selected.\n> \n> changes since v1:\n>  - add new functions to get strings from a stringlist in DM core\n>  - use the dev_read_*() API to access the DT\n>  - automatically select the PBIAS driver if DM_REGULATOR, DM_MMC and\n>    MMC_OMAP_HS are set.\n>  - removed the patch touching the DRA7 and AM57 config files.\n>  \n> \n> Jean-Jacques Hiblot (2):\n>   dm: core: Add functions to get strings and the string count from a\n>     stringlist\n>   regulator: pbias: Add PBIAS regulator for proper voltage switching on\n>     MMC1\n> \n>  drivers/core/read.c                       |  11 ++\n>  drivers/mmc/Kconfig                       |   1 +\n>  drivers/power/regulator/Kconfig           |  13 ++\n>  drivers/power/regulator/Makefile          |   1 +\n>  drivers/power/regulator/pbias_regulator.c | 301 ++++++++++++++++++++++++++++++\n>  include/dm/read.h                         |  36 ++++\n>  6 files changed, 363 insertions(+)\n>  create mode 100644 drivers/power/regulator/pbias_regulator.c\n>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xzFrW2G7Zz9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 00:15:53 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 1ECBDC22078; Fri, 22 Sep 2017 14:15:46 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5EF31C21D56;\n\tFri, 22 Sep 2017 14:15:43 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid CF850C21D56; Fri, 22 Sep 2017 14:15:42 +0000 (UTC)","from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33])\n\tby lists.denx.de (Postfix) with ESMTPS id 09CCEC21C4A\n\tfor <u-boot@lists.denx.de>; Fri, 22 Sep 2017 14:15:41 +0000 (UTC)","from epcas1p1.samsung.com (unknown [182.195.41.45])\n\tby mailout3.samsung.com (KnoxPortal) with ESMTP id\n\t20170922141537epoutp03be84de70738c3425af530de6d821218e~mtKMY-c__0968309683epoutp03Z;\n\tFri, 22 Sep 2017 14:15:37 +0000 (GMT)","from epsmges1p2.samsung.com (unknown [182.195.40.70]) by\n\tepcas1p3.samsung.com (KnoxPortal) with ESMTP id\n\t20170922141537epcas1p35edc1fb1c3a5c6f624a0b848854b353e~mtKL5p5jg2092020920epcas1p3d;\n\tFri, 22 Sep 2017 14:15:37 +0000 (GMT)","from epcas1p3.samsung.com ( [182.195.41.47]) by\n\tepsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id\n\t08.8E.20955.90B15C95; Fri, 22 Sep 2017 23:15:37 +0900 (KST)","from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by\n\tepcas1p4.samsung.com (KnoxPortal) with ESMTP id\n\t20170922141536epcas1p4d2a891bb0c3672de23bebb17e3807b41~mtKLWTNMw3121331213epcas1p4O;\n\tFri, 22 Sep 2017 14:15:36 +0000 (GMT)","from epmmp1.local.host ( [203.254.227.16]) by\n\tepsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id\n\tBC.A2.11757.80B15C95; Fri, 22 Sep 2017 23:15:36 +0900 (KST)","from [10.113.62.216] by mmp1.samsung.com (Oracle Communications\n\tMessaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id\n\t<0OWO009MFQA0LK70@mmp1.samsung.com>;\n\tFri, 22 Sep 2017 23:15:36 +0900 (KST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tSPF_HELO_PASS autolearn=unavailable\n\tautolearn_force=no version=3.4.0","X-AuditID":"b6c32a36-f79196d0000051db-5e-59c51b094622","To":"Jean-Jacques Hiblot <jjhiblot@ti.com>, trini@konsulko.com,\n\tkishon@ti.com, sjg@chromium.org","From":"Jaehoon Chung <jh80.chung@samsung.com>","Message-id":"<0540562c-889d-bced-d36f-a08f3d40bc53@samsung.com>","Date":"Fri, 22 Sep 2017 23:15:36 +0900","User-Agent":"Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-version":"1.0","In-reply-to":"<1506006190-9498-1-git-send-email-jjhiblot@ti.com>","Content-language":"en-US","X-Brightmail-Tracker":["H4sIAAAAAAAAA+NgFupnk+LIzCtJLcpLzFFi42LZdlhTX5dT+mikwdRzUhYtJycxWVx42sNm\n\tcXTPPWaLb1u2MVp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NgFnrGLMWRmVeSWpSXmKPExsVy+t9jAV0O6aORBr83GFq0nJzEZHHhaQ+b\n\txdE995gtvm3ZxmgxddJmdou3ezvZHdg8ZjdcZPHYOesuu8erA6vYPc7e2cHocfzGdqYA1igu\n\tm5TUnMyy1CJ9uwSujKOvX7EWbOGt+P9zI3sD4yfOLkZODgkBE4nXM9+wdTFycQgJ7GSUWHDv\n\tOAuE84BR4un3p6wgVcICkRI/pm5kA7FFBBIk/m+5AmYzC+hLPD+9hhmiYQqjxK2LLWAJNgEd\n\tie3fjjOB2LwCdhItK14zdjFycLAIqEo8vOoLEhYVCJPob/7LDFEiKPFj8j0WEJtTwF7i1qw3\n\trCDlzALqElOm5EKsEpdobr3JAmHLS2xe85Z5AqPALCTdsxA6ZiHpmIWkYwEjyypGydSC4tz0\n\t3GKjAsO81HK94sTc4tK8dL3k/NxNjMDQ33ZYq28H4/0l8YcYBTgYlXh4b+w7HCnEmlhWXJl7\n\tiFGCg1lJhNdT7GikEG9KYmVValF+fFFpTmrxIUZpDhYlcd7MvhmRQgLpiSWp2ampBalFMFkm\n\tDk6pBkbzWvFPh4J4rmtx9/mfbJZOnGayiGHl0k5H5/P+V32ifwkcO+kx/bLljTlTK+J2pZ3h\n\tnWgn6L8t52XhFcvcrx+6qqYpKC78xcIfdlB5UtT3KQ/tJJ/ZvWE8KSVZ9iDV9vPJZv6oyHyf\n\tPp73yd7zdGJvycb7fjvHz9TqcEniF6fi356TO5ZGqimxFGckGmoxFxUnAgD3tCtReQIAAA=="],"X-CMS-MailID":"20170922141536epcas1p4d2a891bb0c3672de23bebb17e3807b41","X-Msg-Generator":"CA","X-Sender-IP":"182.195.42.142","X-Local-Sender":"=?utf-8?b?7KCV7J6s7ZuIG1RpemVuIFBsYXRmb3JtIExhYihTL1c=?=\n\t=?utf-8?b?7IS87YSwKRvsgrzshLHsoITsnpAbU2VuaW9yIEVuZ2luZWVy?=","X-Global-Sender":"=?utf-8?q?Jaehoon_Chung=1BTizen_Platform_Lab=2E=1BSamsun?=\n\t=?utf-8?q?g_Electronics=1BSenior_Engineer?=","X-Sender-Code":"=?utf-8?q?C10=1BTELE=1BC10V8111?=","CMS-TYPE":"101P","DLP-Filter":"Pass","X-CFilter-Loop":"Reflected","X-CMS-RootMailID":"20170921150350epcas1p1a6d99417facd11de7b40031bf28a3612","X-RootMTR":"20170921150350epcas1p1a6d99417facd11de7b40031bf28a3612","References":"<CGME20170921150350epcas1p1a6d99417facd11de7b40031bf28a3612@epcas1p1.samsung.com>\n\t<1506006190-9498-1-git-send-email-jjhiblot@ti.com>","Cc":"u-boot@lists.denx.de","Subject":"Re: [U-Boot] [PATCH v3 0/2] power: Add a driver to handle the PBIAS\n\tcell of the TI SOCs","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]