From patchwork Tue Dec 22 08:56:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 346622 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp5151381jai; Tue, 22 Dec 2020 00:57:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPUAA/ewzxZdQiX5I4jLAvwxQRRQ1YL97sYijP+vt+6FWQeuKnkop24d8SGXGgSDToh/Bh X-Received: by 2002:aa7:cfd7:: with SMTP id r23mr19428089edy.298.1608627446290; Tue, 22 Dec 2020 00:57:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608627446; cv=none; d=google.com; s=arc-20160816; b=fq8JzdZvFcQG1c1g9FMWs743nsXXrFKp95ukLDeM5BLzuUFS3n/ugR0PmKnaR8AKCc UlMA2eYFoaGbE9SNiydGYpOxjMi0aJp76koTnfHzob9GetvOlEln6kIdTAAF+53Z0qBb 95w/9doVWzUhuyH4HGPBzVVKDt1ysce1uKQdtQ414vhina5SyTIVGDEAIEr3IhA6rmbZ uW7uAdvtNMAnb+BwnOhB1OkZzfbk1/3YrWuupgfUo1wNSixGYJCgb4nkPRmE81jUyzaa zrx5FXAtBrBHIZYrsvp7P0ojw9/1j8kc1KOsFRcY36MoUTgSJULyOZhU/onLzJMp+Nc4 SPWw== 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=9IdDzZ8GdWGcUmRPgYEgd990FpUtNOEQigb+SpSli+g=; b=n1lqsQqNO8agHTsk+DH6gdsK+BaZ2mP7Nz7GWSUZFPBjRik3fbs37ZJq5oaB86x3h+ xauOwbK++V8jh7IgH9fqN5I0FgFuA1LxFSgX1Pm0WMxc7vz5AzZMdfrrDFtj/B24m1P4 mnUOiu1KUxUTK0HBLXd8fvGk8LZYf4gXgTfNIHRzbP5yIAPBieBUNLzgeKg9xwcQCVSP nREDjabIoKqePIbqZ2X2n3cd1j1E3WoVTqfRZSd4LzlDI1ote1Dzw/PbLN0tIKZYx9Jw dFW5lFQ8FkrdMiarmfEBCFtVVq/L0akR6wrspHinRatZMqRWqbXiPehi37LkGDw7w/k8 x7FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AtvcuTMv; 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 h24si11115483ejt.583.2020.12.22.00.57.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Dec 2020 00:57:26 -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=AtvcuTMv; 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 1F75E82A40; Tue, 22 Dec 2020 09:56:58 +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="AtvcuTMv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 30E3782A31; Tue, 22 Dec 2020 09:56:49 +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 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 4D1E082A28 for ; Tue, 22 Dec 2020 09:56:41 +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 20201222085640euoutp01710a817320f751beabf8288acedbe6c4~S-hkluKX71313213132euoutp01c for ; Tue, 22 Dec 2020 08:56:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20201222085640euoutp01710a817320f751beabf8288acedbe6c4~S-hkluKX71313213132euoutp01c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608627400; bh=9IdDzZ8GdWGcUmRPgYEgd990FpUtNOEQigb+SpSli+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AtvcuTMv3bTslHoyZ0l8onzXsyYTRrLQqkj1S7WD6RBCyyfz3jVfR3G1QLXGymotK rl9DZOkFNZHT3c8SQ1rALnF7WWHK/4CbOnr338sx8Ho54/mpzjqqgtrX6+6+DyQ5Oq tYlYxdHbdsQtZYEaZqZ4sigxCZILl866dVMUxPTc= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201222085640eucas1p2320171130ff7260b85fa57d31c437df0~S-hkNYAQ-2448524485eucas1p2N; Tue, 22 Dec 2020 08:56:40 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 98.1F.44805.8C4B1EF5; Tue, 22 Dec 2020 08:56:40 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201222085640eucas1p295da269be60f5193ebd2ebc027a668d2~S-hjziWyH2518825188eucas1p2c; Tue, 22 Dec 2020 08:56:40 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201222085640eusmtrp2ca6ef95a856e84b71a6e8e9b14abefdd~S-hjyu7WT3114731147eusmtrp2L; Tue, 22 Dec 2020 08:56:40 +0000 (GMT) X-AuditID: cbfec7f4-b4fff7000000af05-97-5fe1b4c8e8d5 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 68.8A.21957.7C4B1EF5; Tue, 22 Dec 2020 08:56:39 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20201222085639eusmtip13cea5c4ad7e3d116583a9458698701bb~S-hjQVh7s2659926599eusmtip19; Tue, 22 Dec 2020 08:56:39 +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 v4 3/3] configs: khadas-vim3(l): enable Function button support Date: Tue, 22 Dec 2020 09:56:33 +0100 Message-Id: <20201222085633.10194-4-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201222085633.10194-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmleLIzCtJLcpLzFFi42LZduzned0TWx7GG5z6KWaxccZ6Vosbv9pY LZ6/u8xksfbIXXaLQ33RFh2HlS2+bdnGaDFpwi82i7d7O9ktDk/9wOjA5fH+Riu7x+yGiywe 82adYPH48DHOY37ndyaPs3d2MHr0bVnF6LFx2QHmAI4oLpuU1JzMstQifbsEroyOI+sZC7Zy VJzdvYalgXE9excjJ4eEgInEjx2nWbsYuTiEBFYwShy/9pkJwvnCKHH98QaozGdGiU0LTjDB tNyc9JMZIrGcUWL5hyMsIAmwlo2rGEFsNgFDia63XWwgtoiAkcSlph0sIA3MAneYJLomN4A1 CAsESrw68x3sEBYBVYnTW7qAmjk4eAVsJY7clodYJi+xesMBZhCbU8BO4sKUV2AXSQgc4ZD4 PX05I0SRi8Tavy/YIGxhiVfHt0A9JyPxf+d8JoiGZkaJh+fWskM4PYwSl5tmQHVbS9w594sN ZDOzgKbE+l36EGFHif+7NrOAhCUE+CRuvBUECTMDmZO2TWeGCPNKdLQJQVSrScw6vg5u7cEL l5ghbA+J66c/s0MCayKjxIN9MxknMMrPQli2gJFxFaN4amlxbnpqsVFearlecWJucWleul5y fu4mRmB6Of3v+JcdjMtffdQ7xMjEwXiIUYKDWUmE10zqfrwQb0piZVVqUX58UWlOavEhRmkO FiVx3qQta+KFBNITS1KzU1MLUotgskwcnFINTL4agi9V9M9unKv7qfkF+7IdO/wrPFcLbvzF /vlIwh+Tq1P6lTdNbJ7btjpwRe6Lhq81Jte3LGGS1TvIYLbq3EEvhkjRKYJ/Pl98uig26tYP l4pZ38rlZ5+oY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 7j08/llvXqpM+zZ54eX9v5YtvNLDd/qsfkSotWfa7Of624503m2+q2E4P10rdbVc/Mytnuly fzJdrnZ8POKVzvH8wBdjzx7l9pfpOWXr2CoaVz47tC6W6f7vDmtm3Wn3ew2Pe3j+Oa/8aPmR Wu5Auf+CDDMfBNwtMUzTOVVnourxwH/dx1s/Uhd+D4meukvu5wITVXEVmQktUWLmSizFGYmG WsxFxYkA+wG+9v8CAAA= X-CMS-MailID: 20201222085640eucas1p295da269be60f5193ebd2ebc027a668d2 X-Msg-Generator: CA X-RootMTR: 20201222085640eucas1p295da269be60f5193ebd2ebc027a668d2 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201222085640eucas1p295da269be60f5193ebd2ebc027a668d2 References: <20201222085633.10194-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 --- 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