{"id":816934,"url":"http://patchwork.ozlabs.org/api/covers/816934/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/1506006190-9498-1-git-send-email-jjhiblot@ti.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1506006190-9498-1-git-send-email-jjhiblot@ti.com>","list_archive_url":null,"date":"2017-09-21T15:03:08","name":"[U-Boot,v3,0/2] power: Add a driver to handle the PBIAS cell of the TI SOCs","submitter":{"id":70508,"url":"http://patchwork.ozlabs.org/api/people/70508/?format=json","name":"Jean-Jacques Hiblot","email":"jjhiblot@ti.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/1506006190-9498-1-git-send-email-jjhiblot@ti.com/mbox/","series":[{"id":4408,"url":"http://patchwork.ozlabs.org/api/series/4408/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=4408","date":"2017-09-21T15:03:09","name":"power: Add a driver to handle the PBIAS cell of the TI SOCs","version":3,"mbox":"http://patchwork.ozlabs.org/series/4408/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/816934/comments/","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>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ti.com header.i=@ti.com header.b=\"jEWRu9dD\";\n\tdkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xyfzN5FxTz9t3v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 01:04:48 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 763C8C22099; Thu, 21 Sep 2017 15:04:31 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id E4CBAC22028;\n\tThu, 21 Sep 2017 15:04:27 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 1392EC22027; Thu, 21 Sep 2017 15:04:21 +0000 (UTC)","from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16])\n\tby lists.denx.de (Postfix) with ESMTPS id C20B4C2208D\n\tfor <u-boot@lists.denx.de>; Thu, 21 Sep 2017 15:04:19 +0000 (UTC)","from dlelxv90.itg.ti.com ([172.17.2.17])\n\tby fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v8LF3HT3006310; \n\tThu, 21 Sep 2017 10:03:17 -0500","from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31])\n\tby dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8LF3Cnl004600; \n\tThu, 21 Sep 2017 10:03:12 -0500","from DLEE113.ent.ti.com (157.170.170.24) by DLEE101.ent.ti.com\n\t(157.170.170.31) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34;\n\tThu, 21 Sep 2017 10:03:12 -0500","from dlep32.itg.ti.com (157.170.170.100) by DLEE113.ent.ti.com\n\t(157.170.170.24) with Microsoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend\n\tTransport; Thu, 21 Sep 2017 10:03:11 -0500","from localhost (ileax41-snat.itg.ti.com [10.172.224.153])\n\tby dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v8LF3BDZ031982;\n\tThu, 21 Sep 2017 10:03:11 -0500"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com;\n\ts=ti-com-17Q1; t=1506006197;\n\tbh=9Cy5C71bvmJHcmlvIfAlKvILCuROo0Z33PbBouczzGE=;\n\th=From:To:CC:Subject:Date;\n\tb=jEWRu9dD7q9TB9CJPdR/OZuiMleFNWaGDj4T2TdFM03ugDz6tG2ShYlBMEROwLqk0\n\tlSo88BNrUtgLwJDv9O77gw/ZZwQ889fV3ibONYYIkOWi4eQxlg5JMzI7WeV3Mu10eB\n\tRIz79tk0xStiLlNUyUuhhn8GWcQwLJ9/wQCxQf8w=","From":"Jean-Jacques Hiblot <jjhiblot@ti.com>","To":"<jh80.chung@samsung.com>, <trini@konsulko.com>, <kishon@ti.com>,\n\t<sjg@chromium.org>","Date":"Thu, 21 Sep 2017 17:03:08 +0200","Message-ID":"<1506006190-9498-1-git-send-email-jjhiblot@ti.com>","X-Mailer":"git-send-email 1.9.1","MIME-Version":"1.0","X-EXCLAIMER-MD-CONFIG":"e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180","Cc":"u-boot@lists.denx.de","Subject":"[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>"},"content":"In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1\nIO cells. Without this bias voltage these I/O cells can not function\nproperly. This bias voltage is either 1.8v or 3.0v.\n\nThe first patch adds 2 functions to the DM core: to count strings in a\nstringlist and get a string from a stringlist based on its position in the\nlist.\nThe second patch implements the support for this PBIAS cell as a regulator\ndriver.\n\nJean-Jacques\n\n\nchanges since v2:\n * rebased on u-boot/master\n * automatically select REGMAP and SYSCON if PBIAS is selected.\n\nchanges 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\nJean-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"}