{"id":813302,"url":"http://patchwork.ozlabs.org/api/1.2/patches/813302/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1505297094-5273-5-git-send-email-kever.yang@rock-chips.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<1505297094-5273-5-git-send-email-kever.yang@rock-chips.com>","list_archive_url":null,"date":"2017-09-13T10:04:54","name":"[U-Boot,5/5] rockchip: dts: rk3328-evb: add i2c1 and rk805 nodes","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"d1ed3c3d5bb8e5edc87bf4dbf052b0a9d3dcc491","submitter":{"id":64532,"url":"http://patchwork.ozlabs.org/api/1.2/people/64532/?format=json","name":"Kever Yang","email":"kever.yang@rock-chips.com"},"delegate":{"id":69486,"url":"http://patchwork.ozlabs.org/api/1.2/users/69486/?format=json","username":"ptomsich","first_name":"Philipp","last_name":"Tomsich","email":"philipp.tomsich@theobroma-systems.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1505297094-5273-5-git-send-email-kever.yang@rock-chips.com/mbox/","series":[{"id":2863,"url":"http://patchwork.ozlabs.org/api/1.2/series/2863/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2863","date":"2017-09-13T10:04:50","name":"[U-Boot,1/5] rockchip: i2c: rk3328: support i2c for rk3328 SoC","version":1,"mbox":"http://patchwork.ozlabs.org/series/2863/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/813302/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/813302/checks/","tags":{},"related":[],"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\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"HOifn21k\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsclN14PJz9s9Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 20:06:56 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid DE6BAC225D0; Wed, 13 Sep 2017 10:06:03 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CBA29C225DB;\n\tWed, 13 Sep 2017 10:05:40 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 7FE6EC21F91; Wed, 13 Sep 2017 10:05:16 +0000 (UTC)","from mail-pf0-f194.google.com (mail-pf0-f194.google.com\n\t[209.85.192.194])\n\tby lists.denx.de (Postfix) with ESMTPS id 18E9AC22589\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 10:05:12 +0000 (UTC)","by mail-pf0-f194.google.com with SMTP id h4so7338094pfk.0\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 03:05:12 -0700 (PDT)","from localhost.localdomain ([103.29.142.67])\n\tby smtp.gmail.com with ESMTPSA id\n\ti12sm9122203pgr.21.2017.09.13.03.05.08\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tWed, 13 Sep 2017 03:05:10 -0700 (PDT)"],"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\tRCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no\n\tversion=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=qes/8oE5W64hGQxn4CkS34RbLBL2x/02Q0YCg3FMXOU=;\n\tb=HOifn21kEaKzdgDxRa7TxcHggJV2IevpKiDvsKhZYeCuov1rUcnjN1xbynV0FVS1TY\n\t+FrzwNlP9EPMuB0Rlhh08tLERrcK/vkS1pZZjRz0ALJq2kqKhQL0C5xCNbWwBZ/8meIF\n\t0oiUbIxiVbHShcbPP+zE/yBwLSPEM8j5ELoGjLeDBdpzrYPW1jWIjFqvQ7qpVrSrYXGK\n\tr218GiOWCB4HFkfSwZlpa9AzkMPqIhAiUj42/yZHoPQtCocv7iV/jHCIyFMg1vc7bO8F\n\tdHdaIXSlBtkc6vaG3sUMP9XbmBXca7QmINqhvGAqZ8XGBMx2OpiuU+rwFJaH5EkWpLyF\n\txXkg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=qes/8oE5W64hGQxn4CkS34RbLBL2x/02Q0YCg3FMXOU=;\n\tb=HauYg8gZNHfhXEY6Ye1UaTWDwsyGn2Yg/6jB9PuL8c+G9BLwPGZwTcaoWIUFaJFUiS\n\tSl/TuD0zE+oE9im2ftwFyQ+ceI1S4KSGSPRWZiNRP1utCfTEMO0ifodPaYhWBitXuCc6\n\tPPnhAZRuVrpZC+k+iVesAX9S8Qu7xHOdeGC1Te4t5uo3L6oXc5d8z8+i3ytu4h8d9oc6\n\tUPwWHWa7t3cF4T5KTGakTmN049TIftpcIoHtKx9/uHx1a49xIA8Te28p6gnb4YL/9vuv\n\tVMw1Fj1PmcolRUY6814ifYZ6vLjHsBpcZbJcuoN/qBSFYpxnTyu0joYOGzJhrwp2B8ne\n\tviSg==","X-Gm-Message-State":"AHPjjUgvzam8ViYVP3P/ZeEn1WAnZ5a6sQ1NRkguv41PLj7itQEZZVBM\n\tOWNz57N2s4YWWaN4","X-Google-Smtp-Source":"ADKCNb4mLztBbtLqj/Bta1WiZapWZT5/mJ/xKDgMwCSXhvnLJcxZU9UDbxlN2BnVVMyCJ+cyAX5gcA==","X-Received":"by 10.84.244.135 with SMTP id h7mr20547837pll.110.1505297110602; \n\tWed, 13 Sep 2017 03:05:10 -0700 (PDT)","From":"Kever Yang <kever.yang@rock-chips.com>","To":"u-boot@lists.denx.de","Date":"Wed, 13 Sep 2017 18:04:54 +0800","Message-Id":"<1505297094-5273-5-git-send-email-kever.yang@rock-chips.com>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1505297094-5273-1-git-send-email-kever.yang@rock-chips.com>","References":"<1505297094-5273-1-git-send-email-kever.yang@rock-chips.com>","Cc":"Albert Aribaud <albert.u.boot@aribaud.net>,\n\tElaine Zhang <zhangqing@rock-chips.com>,\n\tWilliam Zhang <william.zhang@rock-chips.com>","Subject":"[U-Boot] [PATCH 5/5] rockchip: dts: rk3328-evb: add i2c1 and rk805\n\tnodes","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>","MIME-Version":"1.0","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":"From: Elaine Zhang <zhangqing@rock-chips.com>\n\nadd i2c1 and rk805 nodes to support rk805 init setting.\n\nSigned-off-by: Elaine Zhang <zhangqing@rock-chips.com>\nSigned-off-by: Kever Yang <kever.yang@rock-chips.com>\n---\n\n arch/arm/dts/rk3328-evb.dts | 118 ++++++++++++++++++++++++++++++++++++++++++++\n 1 file changed, 118 insertions(+)","diff":"diff --git a/arch/arm/dts/rk3328-evb.dts b/arch/arm/dts/rk3328-evb.dts\nindex 8a14c65..f71690f 100644\n--- a/arch/arm/dts/rk3328-evb.dts\n+++ b/arch/arm/dts/rk3328-evb.dts\n@@ -87,3 +87,121 @@\n \tvbus-supply = <&vcc5v0_host_xhci>;\n \tstatus = \"okay\";\n };\n+\n+&i2c1 {\n+\tclock-frequency = <400000>;\n+\ti2c-scl-rising-time-ns = <168>;\n+\ti2c-scl-falling-time-ns = <4>;\n+\tstatus = \"okay\";\n+\n+\trk805: pmic@18 {\n+\t\tcompatible = \"rockchip,rk805\";\n+\t\tstatus = \"okay\";\n+\t\treg = <0x18>;\n+\t\tinterrupt-parent = <&gpio2>;\n+\t\tinterrupts = <6 IRQ_TYPE_LEVEL_LOW>;\n+\t\tpinctrl-names = \"default\";\n+\t\tpinctrl-0 = <&pmic_int_l>;\n+\t\trockchip,system-power-controller;\n+\t\twakeup-source;\n+\t\tgpio-controller;\n+\t\t#gpio-cells = <2>;\n+\t\t#clock-cells = <1>;\n+\t\tclock-output-names = \"xin32k\", \"rk805-clkout2\";\n+\n+\t\tregulators {\n+\t\t\tvdd_logic: DCDC_REG1 {\n+\t\t\t\tregulator-name = \"vdd_logic\";\n+\t\t\t\tregulator-min-microvolt = <712500>;\n+\t\t\t\tregulator-max-microvolt = <1450000>;\n+\t\t\t\tregulator-ramp-delay = <6001>;\n+\t\t\t\tregulator-boot-on;\n+\t\t\t\tregulator-always-on;\n+\t\t\t\tregulator-state-mem {\n+\t\t\t\t\tregulator-on-in-suspend;\n+\t\t\t\t\tregulator-suspend-microvolt = <1000000>;\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\tvdd_arm: DCDC_REG2 {\n+\t\t\t\tregulator-name = \"vdd_arm\";\n+\t\t\t\tregulator-min-microvolt = <712500>;\n+\t\t\t\tregulator-max-microvolt = <1450000>;\n+\t\t\t\tregulator-ramp-delay = <6001>;\n+\t\t\t\tregulator-boot-on;\n+\t\t\t\tregulator-always-on;\n+\t\t\t\tregulator-state-mem {\n+\t\t\t\t\tregulator-on-in-suspend;\n+\t\t\t\t\tregulator-suspend-microvolt = <1000000>;\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\tvcc_ddr: DCDC_REG3 {\n+\t\t\t\tregulator-name = \"vcc_ddr\";\n+\t\t\t\tregulator-boot-on;\n+\t\t\t\tregulator-always-on;\n+\t\t\t\tregulator-state-mem {\n+\t\t\t\t\tregulator-on-in-suspend;\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\tvcc_io: DCDC_REG4 {\n+\t\t\t\tregulator-name = \"vcc_io\";\n+\t\t\t\tregulator-min-microvolt = <3300000>;\n+\t\t\t\tregulator-max-microvolt = <3300000>;\n+\t\t\t\tregulator-boot-on;\n+\t\t\t\tregulator-always-on;\n+\t\t\t\tregulator-state-mem {\n+\t\t\t\t\tregulator-on-in-suspend;\n+\t\t\t\t\tregulator-suspend-microvolt = <3300000>;\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\tvdd_18: LDO_REG1 {\n+\t\t\t\tregulator-name = \"vdd_18\";\n+\t\t\t\tregulator-min-microvolt = <1800000>;\n+\t\t\t\tregulator-max-microvolt = <1800000>;\n+\t\t\t\tregulator-boot-on;\n+\t\t\t\tregulator-always-on;\n+\t\t\t\tregulator-state-mem {\n+\t\t\t\t\tregulator-on-in-suspend;\n+\t\t\t\t\tregulator-suspend-microvolt = <1800000>;\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\tvcc_18emmc: LDO_REG2 {\n+\t\t\t\tregulator-name = \"vcc_18emmc\";\n+\t\t\t\tregulator-min-microvolt = <1800000>;\n+\t\t\t\tregulator-max-microvolt = <1800000>;\n+\t\t\t\tregulator-boot-on;\n+\t\t\t\tregulator-always-on;\n+\t\t\t\tregulator-state-mem {\n+\t\t\t\t\tregulator-on-in-suspend;\n+\t\t\t\t\tregulator-suspend-microvolt = <1800000>;\n+\t\t\t\t};\n+\t\t\t};\n+\n+\t\t\tvdd_10: LDO_REG3 {\n+\t\t\t\tregulator-name = \"vdd_10\";\n+\t\t\t\tregulator-min-microvolt = <1000000>;\n+\t\t\t\tregulator-max-microvolt = <1000000>;\n+\t\t\t\tregulator-boot-on;\n+\t\t\t\tregulator-always-on;\n+\t\t\t\tregulator-state-mem {\n+\t\t\t\t\tregulator-on-in-suspend;\n+\t\t\t\t\tregulator-suspend-microvolt = <1000000>;\n+\t\t\t\t};\n+\t\t\t};\n+\t\t};\n+\t};\n+};\n+\n+&pinctrl {\n+\tpmic {\n+\t\tpmic_int_l: pmic-int-l {\n+\t\trockchip,pins =\n+\t\t\t<2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;\t/* gpio2_a6 */\n+\t\t};\n+\t};\n+};\n+\n","prefixes":["U-Boot","5/5"]}