From patchwork Thu Feb 11 08:47:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 380891 Delivered-To: patch@linaro.org Received: by 2002:a02:b18a:0:0:0:0:0 with SMTP id t10csp1885146jah; Thu, 11 Feb 2021 00:48:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8u/3/LhfIhxWWb8GkGxgYvb9SNwrf8aBzbCtkSvpnICTGv5AuM86Cwjn6SpbJMfgZnM6Q X-Received: by 2002:a17:907:1629:: with SMTP id hb41mr7115038ejc.197.1613033333085; Thu, 11 Feb 2021 00:48:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613033333; cv=none; d=google.com; s=arc-20160816; b=CYtp5dt1gyobgBIOm32iPRLfp1+B6mN3sgFd3ce+nvB6qA05o2DLMSHxVm2s3R2ftX SJfjbiE5jyPqQAcFqvDrR1YtgLSM1QH6J4Aq0opqeOZXi295bdGojcwoJRlBzdU0YoWn 1/yzSvTYgiSoITiccd6mM7La/OEzd37boD8kfrdtYYRHj1NMtIByuzxfZx6ybBZnBzBH X32U80LFtiwI7ZHQhINGMXuKRYMAFJx3jrOFwzEU20zVgY+lzSQVYed7gdZjuxlN2EHO 6aJ4TMNbIqvn97zCuXVIuYUSBPzTM0Jr4jD9gXJxKXGtbMJ+mxPQR2BXSyH6WjpkZ3zd idEw== 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=t7Ximx8YxR9eUZTuSzHnGTVVQVi87eVXbtpcgmrIjMc=; b=wp5HwlyFGwn8sZoIG2zeN8AF0glSFhgTy/2xIHDXJ3dBh5EjTyQCLa6lUMNKexwGok KNABgUSmr+OSycc0zOFhrY75KDxePIQQj0zmLNLFe1qSr7oJ/fFsgTh6MpLBfApMsGjX 8zYB63n8lQchrFMZL5nGx2LfwS6XqhHv9D7uSUIgiZhjfmj85RMnLWagnrrgI5JCXOic a1YNTDUllV8CFHLn6d3l6WEmXrknS/p/qrap2eHPEmyv1adX3SYrEGJ0a1p2IKbTNx8+ YiejCCQ2PpYvWD5ZMFlSO3kpGIIiUOKiCHskhJeigidXCYgM7WwqQC/AiMQbwmC8I5cB alHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="sqX/Pjmh"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id jx25si3251341ejb.12.2021.02.11.00.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Feb 2021 00:48:53 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="sqX/Pjmh"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 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 71AEC82687; Thu, 11 Feb 2021 09:48:25 +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="sqX/Pjmh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3A08C82687; Thu, 11 Feb 2021 09:48:15 +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.6 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 mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D6B8882636 for ; Thu, 11 Feb 2021 09:48:07 +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 eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20210211084807euoutp015eba2ae03923ea6259b080d24f7882ae~ipTqKNANl1444414444euoutp01n for ; Thu, 11 Feb 2021 08:48:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20210211084807euoutp015eba2ae03923ea6259b080d24f7882ae~ipTqKNANl1444414444euoutp01n DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1613033287; bh=t7Ximx8YxR9eUZTuSzHnGTVVQVi87eVXbtpcgmrIjMc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sqX/PjmhBB+kNp/w0iQV0JA19kkX6G+bdgwMuOjdXTDout9kYfCRDT9LuVXaX8TVN CltP0H//KXum6slbTIyY/mFRuLZYM4ALiUdMoYmMZWjkXafeFySyoHIetU4RlLvrQx U9vHTIH2/9a8TVhNizq1xkKENfIHy6h1CBvqyFmw= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20210211084807eucas1p2a6415fc6124cfad612a70510820f5fbc~ipTp3fPyZ1135811358eucas1p2m; Thu, 11 Feb 2021 08:48:07 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 6D.F1.44805.64FE4206; Thu, 11 Feb 2021 08:48:07 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210211084806eucas1p12459ec4f4d9871e8abba678a8589165a~ipTpjxlWt1572715727eucas1p1W; Thu, 11 Feb 2021 08:48:06 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210211084806eusmtrp235e7d6d019179888e6327b4b1c5cbfa2~ipTpjIgk62424724247eusmtrp2c; Thu, 11 Feb 2021 08:48:06 +0000 (GMT) X-AuditID: cbfec7f4-b4fff7000000af05-f7-6024ef467cb4 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 13.75.21957.64FE4206; Thu, 11 Feb 2021 08:48:06 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20210211084806eusmtip1d5608371e5345a2b169121f79dba2665~ipTpAzsxL1945819458eusmtip14; Thu, 11 Feb 2021 08:48:06 +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 v6 4/5] configs: khadas-vim3(l): enable Function button support Date: Thu, 11 Feb 2021 09:47:56 +0100 Message-Id: <20210211084757.22759-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210211084757.22759-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphleLIzCtJLcpLzFFi42LZduznOV339yoJBk2LGS02zljPanHjVxur xfN3l5ks1h65y25xqC/aouOwssW3LdsYLSZN+MVm8XZvJ7vF4akfGB24PN7faGX3mN1wkcVj 3qwTLB4fPsZ5zO/8zuRx9s4ORo++LasYPTYuO8AcwBHFZZOSmpNZllqkb5fAldGz+wJbwSOO ikk9a5kbGK+zdzFyckgImEjs7P3IDGILCaxglDh7vqyLkQvI/sIocW7xGRYI5zOjxI6vU9lg OmZd+MkIkVjOKHHnUhczXMvW+yfBqtgEDCW63naB2SICRhKXmnaAjWIWuMMk0TW5gQUkISwQ KLHo+31GEJtFQFViz/PdYHFeAVuJNyfmMEGsk5dYveEA2IGcAnYS+/bcYQUZJCFwhEPi/tSv jBBFLhJT586FahCWeHV8C9R3MhL/d85ngmhoZpR4eG4tO4TTwyhxuWkGVLe1xJ1zv4Bu5QC6 T1Ni/S59iLCjxOQd+5lBwhICfBI33gqChJmBzEnbpkOFeSU62oQgqtUkZh1fB7f24IVLzBC2 h8SluxPYISE0kVFiUv9OxgmM8rMQli1gZFzFKJ5aWpybnlpslJdarlecmFtcmpeul5yfu4kR mGBO/zv+ZQfj8lcf9Q4xMnEwHmKU4GBWEuHlb1VJEOJNSaysSi3Kjy8qzUktPsQozcGiJM6b tGVNvJBAemJJanZqakFqEUyWiYNTqoGpYAqP1s45P0MXqhaU9qw67PZqvtB+s322zXkn8hfN YrS+Potvwo/aE3tiJNpPvX/7pEq04bj+TE5RN7nStJ7OK1PmLvRaOUFhg73KrO6lCWeTZwmt dZDfefq3euKq7nUy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 6X/E7+fFn4zi1/5zv2fAfdSkc/XtdO1JG8pORq23X/Hufc2RmtlLY8vOXS24prgyXnpDJP/d b095jLwmVzemn7p+7FS+exHrTe+3ufOO7FF7f2GfyrL/rbL7lJ+WsYUVyZ8U+323L/JMRLCD z48r5osueDy8fERwv0XAku8rtSK3OB0xyW1c+V5jOsshQZ/XAU8UY1/x/bg3W8BSiaU4I9FQ i7moOBEAXVoYSgADAAA= X-CMS-MailID: 20210211084806eucas1p12459ec4f4d9871e8abba678a8589165a X-Msg-Generator: CA X-RootMTR: 20210211084806eucas1p12459ec4f4d9871e8abba678a8589165a X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20210211084806eucas1p12459ec4f4d9871e8abba678a8589165a References: <20210211084757.22759-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 Add options required to check the 'Function' button state. Signed-off-by: Marek Szyprowski Reviewed-by: Simon Glass --- configs/khadas-vim3_defconfig | 2 ++ configs/khadas-vim3l_defconfig | 2 ++ 2 files changed, 4 insertions(+) -- 2.17.1 diff --git a/configs/khadas-vim3_defconfig b/configs/khadas-vim3_defconfig index 5d16652fd6..bc17430569 100644 --- a/configs/khadas-vim3_defconfig +++ b/configs/khadas-vim3_defconfig @@ -31,6 +31,8 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_ADC=y CONFIG_SARADC_MESON=y +CONFIG_BUTTON=y +CONFIG_BUTTON_ADC=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_MESON=y CONFIG_DM_MMC=y diff --git a/configs/khadas-vim3l_defconfig b/configs/khadas-vim3l_defconfig index 6b13ce045c..c1877922c7 100644 --- a/configs/khadas-vim3l_defconfig +++ b/configs/khadas-vim3l_defconfig @@ -31,6 +31,8 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_ADC=y CONFIG_SARADC_MESON=y +CONFIG_BUTTON=y +CONFIG_BUTTON_ADC=y CONFIG_DM_I2C=y CONFIG_SYS_I2C_MESON=y CONFIG_DM_MMC=y