{"id":813305,"url":"http://patchwork.ozlabs.org/api/covers/813305/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/1505297379-12638-1-git-send-email-david.wu@rock-chips.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":"<1505297379-12638-1-git-send-email-david.wu@rock-chips.com>","list_archive_url":null,"date":"2017-09-13T10:09:31","name":"[U-Boot,0/8] Add rockchip Saradc support","submitter":{"id":68083,"url":"http://patchwork.ozlabs.org/api/people/68083/?format=json","name":"David Wu","email":"david.wu@rock-chips.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/1505297379-12638-1-git-send-email-david.wu@rock-chips.com/mbox/","series":[{"id":2866,"url":"http://patchwork.ozlabs.org/api/series/2866/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=2866","date":"2017-09-13T10:09:31","name":"Add rockchip Saradc support","version":1,"mbox":"http://patchwork.ozlabs.org/series/2866/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/813305/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>)","Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xscqf38bHz9s9Y\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 20:10:37 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid DEEFCC225B2; Wed, 13 Sep 2017 10:10:29 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BDC6EC222D5;\n\tWed, 13 Sep 2017 10:10:27 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 0A07AC222D5; Wed, 13 Sep 2017 10:10:26 +0000 (UTC)","from lucky1.263xmail.com (lucky1.263xmail.com [211.157.147.135])\n\tby lists.denx.de (Postfix) with ESMTPS id 1F53FC21F91\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 10:10:26 +0000 (UTC)","from david.wu?rock-chips.com (unknown [192.168.167.229])\n\tby lucky1.263xmail.com (Postfix) with ESMTP id 43BDA797;\n\tWed, 13 Sep 2017 18:10:22 +0800 (CST)","from localhost.localdomain (localhost [127.0.0.1])\n\tby smtp.263.net (Postfix) with ESMTPA id 2F309369;\n\tWed, 13 Sep 2017 18:10:21 +0800 (CST)","from localhost.localdomain (unknown [58.22.7.114])\n\tby smtp.263.net (Postfix) whith ESMTP id 1541737N4U6;\n\tWed, 13 Sep 2017 18:10:22 +0800 (CST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.6 required=5.0 tests=RCVD_IN_MSPIKE_BL,\n\tRCVD_IN_MSPIKE_L4,RCVD_IN_SORBS_WEB autolearn=no autolearn_force=no\n\tversion=3.4.0","X-263anti-spam":"KSV:0;","X-MAIL-GRAY":"1","X-MAIL-DELIVERY":"0","X-KSVirus-check":"0","X-ABS-CHECKED":"4","X-RL-SENDER":"david.wu@rock-chips.com","X-FST-TO":"sjg@chromium.org","X-SENDER-IP":"58.22.7.114","X-LOGIN-NAME":"david.wu@rock-chips.com","X-UNIQUE-TAG":"<e7a19a51f6618855c6e0dc194c644263>","X-ATTACHMENT-NUM":"0","X-SENDER":"wdc@rock-chips.com","X-DNS-TYPE":"0","From":"David Wu <david.wu@rock-chips.com>","To":"sjg@chromium.org,\n\tphilipp.tomsich@theobroma-systems.com","Date":"Wed, 13 Sep 2017 18:09:31 +0800","Message-Id":"<1505297379-12638-1-git-send-email-david.wu@rock-chips.com>","X-Mailer":"git-send-email 2.7.4","Cc":"huangtao@rock-chips.com, u-boot@lists.denx.de, zhangqing@rock-chips.com, \n\tlinux-rockchip@lists.infradead.org, p.marczak@samsung.com,\n\tDavid Wu <david.wu@rock-chips.com>, andy.yan@rock-chips.com,\n\tchenjh@rock-chips.com","Subject":"[U-Boot] [PATCH 0/8] Add rockchip Saradc support","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":"The Saradc is used for adc keys and charging detect at uboot\nloader. Except for the rk3036 and rk3228 Socs, the others\nsupport the Saradc IP.\n\nDavid Wu (8):\n  adc: Add driver for Rockchip saradc\n  configs: rockchip: Enable the ROCKCHIP_SARADC config\n  clk: rockchip: Add rv1108 SARADC clock support\n  clk: rockchip: Add SARADC clock support for rk3288\n  clk: rockchip: Add rk3328 SRAADC clock support\n  clk: rockchip: Add rk3368 SARADC clock support\n  clk: rockchip: Add rk3399 SARADC clock support\n  arm: dts: rv1108: Add saradc node at dtsi level\n\n arch/arm/dts/rv1108.dtsi                        |  11 ++\n arch/arm/include/asm/arch-rockchip/cru_rk3368.h |   5 +\n arch/arm/include/asm/arch-rockchip/cru_rv1108.h |   5 +\n configs/evb-rk3288_defconfig                    |   2 +\n configs/evb-rk3328_defconfig                    |   2 +\n configs/evb-rk3399_defconfig                    |   2 +\n configs/evb-rv1108_defconfig                    |   2 +\n configs/fennec-rk3288_defconfig                 |   2 +\n configs/firefly-rk3288_defconfig                |   2 +\n configs/firefly-rk3399_defconfig                |   2 +\n configs/lion-rk3368_defconfig                   |   2 +\n configs/miqi-rk3288_defconfig                   |   2 +\n configs/phycore-rk3288_defconfig                |   2 +\n configs/popmetal-rk3288_defconfig               |   2 +\n configs/puma-rk3399_defconfig                   |   2 +\n configs/sheep-rk3368_defconfig                  |   2 +\n configs/tinker-rk3288_defconfig                 |   2 +\n drivers/adc/Kconfig                             |   9 ++\n drivers/adc/Makefile                            |   1 +\n drivers/adc/rockchip-saradc.c                   | 188 ++++++++++++++++++++++++\n drivers/clk/rockchip/clk_rk3288.c               |  45 ++++++\n drivers/clk/rockchip/clk_rk3328.c               |  37 +++++\n drivers/clk/rockchip/clk_rk3368.c               |  31 ++++\n drivers/clk/rockchip/clk_rk3399.c               |  33 +++++\n drivers/clk/rockchip/clk_rv1108.c               |  35 +++++\n include/dt-bindings/clock/rv1108-cru.h          |   2 +\n 26 files changed, 430 insertions(+)\n create mode 100644 drivers/adc/rockchip-saradc.c"}