From patchwork Wed Dec 16 07:51:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 344500 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp163941ejs; Tue, 15 Dec 2020 23:52:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwccOU6TvseINSfcur7HwHX4bXRTwELOvwl8+qDP97RnFMHk8KedJl8GG0c9OR/57Xv09J/ X-Received: by 2002:a05:6402:30ac:: with SMTP id df12mr33895029edb.175.1608105173017; Tue, 15 Dec 2020 23:52:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608105173; cv=none; d=google.com; s=arc-20160816; b=nLSsGLvI/t4sCHDQv6LL9k6B4VV8JLFBCSJQ+Dol0j4nldsReQcG6rwlyDlZsGV4W5 Nhf7bKTQC84dAzaSmcxm3VCOLsR72jAwf+6WOsyJ8ZfDqKzhS6ZBrEaUCDiC6by0DMfQ OMgHMULHJ6PLi150sTPWIrmXzLWp1DS+LWx3U+UvOjQq4C6EtDoLS+WsLIG0U5lKGxFo vPYII22IaJ0Y48CSsE3Of7S6yjYLeSeAJcpLlAMRdm013JpON3xJBXWkNMOm+GhYgAki myIasIV5EH9QZKj4wEGkB/VfllX4Q0Gd/zbyix6tvhQ5Jieifv2sBdOiM3Yfz5+AR9J2 2/LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=gjXQ1LSUIoC9r/p9kpzsq/9uKmzmzHDc8vSPPzXpUDo=; b=CBBiAW6kZMEVsWM9OS4hA+BwKkBR+gtuMAjRT6qLlX1IanrGWwAzsgq6LTXyHjwJ4t 3/ywXecZTal13WW3IZPhmagI4utry6uFl8LFzBjp7h20jUL3ada0x+mbDQl1IEpnQlxN 2kN4K99yYLeCmaP4zFS2oN/O88K+t/b/B/21lOh2cuGTI0LblTzCcUHZCNwFTpXBeSpB l2J715HeS/HKZLoUvYhnH2FpJGk1jDl856hyrpkBUshb0wnOuEBnjlSOk8Loo7DnHHdg ovbat+eUtvXIN3cLIN1kLyU8D+FrcpRgTK/mRvElNxUrDH2GW4ZM7eDIpu+pLLcUNVQv IraQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Gd8twKJ5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id j5si465642ejb.653.2020.12.15.23.52.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 23:52:53 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Gd8twKJ5; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CA8CA82A64; Wed, 16 Dec 2020 08:52:28 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=samsung.com header.i=@samsung.com header.b="Gd8twKJ5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1F43382A52; Wed, 16 Dec 2020 08:52:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2A4B082A46 for ; Wed, 16 Dec 2020 08:52:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=m.szyprowski@samsung.com Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201216075206euoutp0274505dd18dec1830ebb177ca6311985e~RIxe8Ewf92686326863euoutp024 for ; Wed, 16 Dec 2020 07:52:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201216075206euoutp0274505dd18dec1830ebb177ca6311985e~RIxe8Ewf92686326863euoutp024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608105126; bh=gjXQ1LSUIoC9r/p9kpzsq/9uKmzmzHDc8vSPPzXpUDo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gd8twKJ5/s9pSAxrSjiUCw+IQgkUbDfXqZZrFOswKjf9Dc3hSTYA52AjkcG/tTXoV MkJO1UC7dzRQWhjo6oAGGBGBneR1cw+XOIKlHcg0tP5TTyC7qhsmK2TK2wxJfwbH/y hzMoh/I0pQisMARgZfYjpn/CaFJWcZHoi6o87GZw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201216075206eucas1p24ac8966a1c13ee54c15368522783d327~RIxeaRvDx1127211272eucas1p2N; Wed, 16 Dec 2020 07:52:06 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 3D.5B.45488.6ACB9DF5; Wed, 16 Dec 2020 07:52:06 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201216075205eucas1p2a5f90911b5f213f56dca1709eb71843a~RIxeBl_G31128511285eucas1p2J; Wed, 16 Dec 2020 07:52:05 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201216075205eusmtrp252b2638cbab048f121f25c09823266d2~RIxeA8Gyf0040100401eusmtrp24; Wed, 16 Dec 2020 07:52:05 +0000 (GMT) X-AuditID: cbfec7f5-c5fff7000000b1b0-61-5fd9bca69d08 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 32.5A.16282.5ACB9DF5; Wed, 16 Dec 2020 07:52:05 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201216075205eusmtip2fa6b2b1349c161358e2b1c503d3dc485~RIxdbNQez1430914309eusmtip2w; Wed, 16 Dec 2020 07:52:05 +0000 (GMT) From: Marek Szyprowski To: u-boot@lists.denx.de, u-boot-amlogic@groups.io Cc: Marek Szyprowski , Neil Armstrong , Lukasz Majewski , Philippe Reynes , Simon Glass , Heinrich Schuchardt , Jaehoon Chung , Bartlomiej Zolnierkiewicz Subject: [PATCH v3 4/6] configs: khadas-vim3: enable ADC device support Date: Wed, 16 Dec 2020 08:51:56 +0100 Message-Id: <20201216075158.16458-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201216075158.16458-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmleLIzCtJLcpLzFFi42LZduznOd1le27GG3zZyGmxccZ6Vosbv9pY LZ6/u8xksfbIXXaLQ33RFh2HlS2+bdnGaDFpwi82i7d7O9ktDk/9wOjA5fH+Riu7x+yGiywe 82adYPH48DHOY37ndyaPs3d2MHr0bVnF6LFx2QHmAI4oLpuU1JzMstQifbsErowtP70KFrJW HNr+nLGB8RhLFyMnh4SAicTbRw2sILaQwApGicMN9l2MXED2F0aJnT92sEA4nxkllnXMYYbp eD9vGRNEYjmjxNxFj5nhWh697WMCqWITMJToetvFBmKLCBhJXGqCGMUscIdJomtyA9hyYQF3 iXt328CWswioSmw4v4EdxOYVsJV4tekVG8Q6eYnVGw6AreYUsJM4vK0BbLWEwBEOibWXm1gh ilwkJhxbAPWRsMSr41vYIWwZif8750M1NDNKPDy3lh3C6WGUuNw0gxGiylrizrlfQOs4gO7T lFi/Sx8i7Cix+NJ2JpCwhACfxI23giBhZiBz0rbpzBBhXomONiGIajWJWcfXwa09eOESNLg8 JDqf/YMG10RGiUsP9rFNYJSfhbBsASPjKkbx1NLi3PTUYuO81HK94sTc4tK8dL3k/NxNjMD0 cvrf8a87GFe8+qh3iJGJg/EQowQHs5II75+3N+KFeFMSK6tSi/Lji0pzUosPMUpzsCiJ8+7a uiZeSCA9sSQ1OzW1ILUIJsvEwSnVwKTJz7Ps0/V6X3NpZVbFY6GR30JCbcWWHyjI/Gst/FtE d1PPfp/a994sRWcDO+Oe1ax7cG6mwqJjr7Q7//k1X7lisYsz8EPuQYNvgfdyXBYeNm/wXTt7 Z87LbYrV17hLdJVdU9/08bqGvf9+3b7d6obKP5kag+d/W93ij+a9qvUV7p45c/GXX4+7TQ5P k551UWSnTfSZ0s7r2j7Ltu4zeBr2S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06JfZZ8fnPP3MuXHuZKxBUF8a8NHUS7+tUzcL1 eu3Lj7t5hN+qz59V+XWBngZn63ehM+qJmzf/ub/M0uPUFaOVX/YfXlg696Oz9H0lluKMREMt 5qLiRABJOCz+/wIAAA== X-CMS-MailID: 20201216075205eucas1p2a5f90911b5f213f56dca1709eb71843a X-Msg-Generator: CA X-RootMTR: 20201216075205eucas1p2a5f90911b5f213f56dca1709eb71843a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201216075205eucas1p2a5f90911b5f213f56dca1709eb71843a References: <20201216075158.16458-1-m.szyprowski@samsung.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Analog to Digital Converter device (Meson SARADC) will be used for probing 'Function' button state. Signed-off-by: Marek Szyprowski --- configs/khadas-vim3_defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/configs/khadas-vim3_defconfig b/configs/khadas-vim3_defconfig index 9d7ba72d44..5d16652fd6 100644 --- a/configs/khadas-vim3_defconfig +++ b/configs/khadas-vim3_defconfig @@ -29,6 +29,8 @@ CONFIG_CMD_REGULATOR=y CONFIG_OF_CONTROL=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y +CONFIG_ADC=y +CONFIG_SARADC_MESON=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_MESON=y CONFIG_DM_MMC=y