From patchwork Tue Jan 26 09:50:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 370589 Delivered-To: patch@linaro.org Received: by 2002:a02:a60d:0:0:0:0:0 with SMTP id c13csp4802321jam; Tue, 26 Jan 2021 01:51:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyffiBtWKc63uA0lXGpi9DKv9uskOeVvNRaprXVlAaeuW4MSVIo5oemjsEP5xJOuer7E91d X-Received: by 2002:aa7:c4c9:: with SMTP id p9mr4161928edr.234.1611654715213; Tue, 26 Jan 2021 01:51:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611654715; cv=none; d=google.com; s=arc-20160816; b=piSs8h3IcasyQ5KjGH7RnVFvVvyIdbj8IJeCujWtRYUE7sbexdZEvO7zD3n89zzQhg XOI2cLWby3237qpEpHbeEe3xHLwlq+1xIBkLG/GWXI0U4/shpo6mFx3aIfLhY9e6fYzo /1j4hJ8e8Ml1vXAhyPxNQNolWtvUaL4qq9fJWcNoNc/sLPQPw3IboCxkGiPl69Ha5hg3 skk+2LcT7ukrMDLAaGUBPoBFb9vMO2tSNhb84tzmMlMy+H8BB7AWD1uo5FaDoOSULZiT WQ3uEDm+SBUSRnG6gC42gFP+hfCAYO0ERrv5/652GzDBANPKR00VKtAeVJ22JHZtTGMj Ip1g== 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=s8a4bJffH6WpxfbtKUO/HDV8rL7gVja0PXuxDibhaWmK/6Vxr1C64YUmrBU3UxRK7H Cy73H3vHqYu+3D6DpC7fiDRNBTBsE5uQdrOj1FJ++3Flu6S7h78Q9+v6sC7uRpzLIHjG G3g/k6bKf/bbg6daZM7JUxCkow9lyCehLTKxbRCVqigyxQ6uSXEUV0nG87cm/B5lgXYW mfJD33Or2gwTYXeZvuMp8HdBl42ksKOmIEkMBGddXbuiXZFdTOoOxsPPatuEfOWpJKVJ k8bO9b9zrMwdm2NNXEK8dhSDesn/I3ibOgZUH5X9GoyinNv0YFXVcW2yJZ/w9J7JYEiC T+2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=RyilzVju; 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 qp24si1383210ejb.563.2021.01.26.01.51.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 01:51:55 -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=RyilzVju; 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 E0CF182571; Tue, 26 Jan 2021 10:51:40 +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="RyilzVju"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4548782653; Tue, 26 Jan 2021 10:51:27 +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.3 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 317EF825BF for ; Tue, 26 Jan 2021 10:51:15 +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 20210126095114euoutp0214b5039140e719f30c5506a45b42c04d~dv2NE7YvQ3205232052euoutp02C for ; Tue, 26 Jan 2021 09:51:14 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20210126095114euoutp0214b5039140e719f30c5506a45b42c04d~dv2NE7YvQ3205232052euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1611654674; bh=9IdDzZ8GdWGcUmRPgYEgd990FpUtNOEQigb+SpSli+g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RyilzVjum74MbYTZ6CIotQQ2iNnalKsCkIFEYVZmudKCVqd104a0ouQ+IciSJ1ZT3 njFgBl+CC0SWEp4AiLRJKYJinocrYZclxeq38a9rOAEPh1NcDZEWOIwQhlkDH0Zpnn XhJQ+b5po1NISVUwKkbOIPOnjZbDsRNpWUqTKrAw= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20210126095114eucas1p1280966954696e8a47d2d3a5770b26e8e~dv2MkUUqC2162421624eucas1p1j; Tue, 26 Jan 2021 09:51:14 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id F1.91.44805.216EF006; Tue, 26 Jan 2021 09:51:14 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20210126095113eucas1p1154fc4a8742f9a969a5a19114fb79000~dv2MIQ3kZ0759307593eucas1p1v; Tue, 26 Jan 2021 09:51:13 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210126095113eusmtrp23ae46096d3b2cfc1cd55760e95885374~dv2MHnud80402704027eusmtrp2A; Tue, 26 Jan 2021 09:51:13 +0000 (GMT) X-AuditID: cbfec7f4-b37ff7000000af05-c3-600fe612ff09 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 3D.E7.16282.116EF006; Tue, 26 Jan 2021 09:51:13 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210126095112eusmtip2f7f132bf3aba7a3a4a8e6f516deed697~dv2LZGUL50504205042eusmtip2H; Tue, 26 Jan 2021 09:51:12 +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 v5 4/4] configs: khadas-vim3(l): enable Function button support Date: Tue, 26 Jan 2021 10:50:36 +0100 Message-Id: <20210126095036.6429-5-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210126095036.6429-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphleLIzCtJLcpLzFFi42LZduzneV2hZ/wJBv132C02zljPanHjVxur xfN3l5ks1h65y25xqC/aouOwssW3LdsYLSZN+MVm8XZvJ7vF4akfGB24PN7faGX3mN1wkcVj 3qwTLB4fPsZ5zO/8zuRx9s4ORo++LasYPTYuO8AcwBHFZZOSmpNZllqkb5fAldFxZD1jwVaO irO717A0MK5n72Lk5JAQMJE4tv4SaxcjF4eQwApGiYvndrGAJIQEvjBKPFtXA5H4zCixc1Yj G0zHh/7TTBCJ5YwSa78tg3KAOk786gGrYhMwlOh62wVmiwgYSVxq2sECUsQscIdJomtyA9gO YYFAiZ7O26wgNouAqsTco2/BGngFbCR+PLrECLFOXmL1hgPMIDangK3EotsrmEEGSQgc4JDY eLKbBaLIRWLKrxdQtrDEq+NboL6Tkfi/cz4TREMzo8TDc2vZIZweRonLTTOgVlhL3Dn3C2g1 B9B9mhLrd+lDhB0ltnceZgYJSwjwSdx4KwgSZgYyJ22bDhXmlehoE4KoVpOYdXwd3NqDFy4x Q9geEn3T/rJAQmgCo8SbH9uYJzDKz0JYtoCRcRWjeGppcW56arFRXmq5XnFibnFpXrpecn7u JkZggjn97/iXHYzLX33UO8TIxMF4iFGCg1lJhHe3Hk+CEG9KYmVValF+fFFpTmrxIUZpDhYl cd6kLWvihQTSE0tSs1NTC1KLYLJMHJxSDUy5HbYWjGaFnx2iRT6+tXvj/dz7mrjxdBv7/0vb F/Ecy5zwioXT+ZPGxtSLcmtji8Vbzuw8G6fHr6LuPsnv2lf11wrxR643r2hYpbta0N+N6ds9 +/vf74hyzvnk4TvryEfJqU1Jej0Sj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iz+s3YhOY7Pa5vzAqnZ15tWNfcOmdjppPlS2d/y9YHdfQ 70vKtHy9/9vpBU+9d1lxN15njzmTx1j1k2mVV5bj1tjZsybunBctFHS8ZJ3007//M7uVZMK4 7usEt7z7NuNz5WzmHXIv58lfP3J1z3PmzRoZpWF1f7UO5jn0NAXFM/5rqTy3SYmlOCPRUIu5 qDgRAGjEwVkAAwAA X-CMS-MailID: 20210126095113eucas1p1154fc4a8742f9a969a5a19114fb79000 X-Msg-Generator: CA X-RootMTR: 20210126095113eucas1p1154fc4a8742f9a969a5a19114fb79000 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20210126095113eucas1p1154fc4a8742f9a969a5a19114fb79000 References: <20210126095036.6429-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 Reviewed-by: Simon Glass 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