From patchwork Wed Dec 16 07:51:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 344498 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp163804ejs; Tue, 15 Dec 2020 23:52:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbluuTHAMpn/VHzt90QipbYHoWEWVTf/w0vQQEYBJDG4gQ7ZlE9h5ayM0TlYJ/PSKUm/i3 X-Received: by 2002:aa7:c492:: with SMTP id m18mr4505068edq.236.1608105152250; Tue, 15 Dec 2020 23:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608105152; cv=none; d=google.com; s=arc-20160816; b=P9r7JPm4XBhP/vWx0n47THiiJW/d+DOGqm8fOfJxlXjAJTVj8oMQKFYgpqJ6FZTXud UtB1Xbg+zWqaW1LHNu212bVF7HBBM95+itWfW/uYyWvDG2L9L+Dro0XJrxPWYmAY5TkN O77ypTexpFJn5EIMlxeLF+dE2EI9/tA23PxiMO10awMVlX9LHhdeNnEvJnoX3gSoHqhC tj723319goSdtHXgBN6kHk6LvVXmnmX6u6PDz86WcT820HnsLSvp123QzdCWm+6LBvac tR0w1kl3VFDwVFZ6ADla6RIOZs2nVuGE/I6/3wWllfH0z60RcNbtqnZrhb15tjSkJoZ/ wQVg== 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=knAMYuM5Fv2FwCCrJdg7R7ZZOjjU0BpAeAqjZRDnCJ4=; b=dlYxad8vjr2iQ9h9AnScaofpZPrOekDVzbcWKCHCP1e9zeU7q1NvmQPV1LlHcs2rOI vEeo2RHptrfhOqwJt7onpNCswERuWkpcCJoz+75PVuea6R+rMf5miOMlDISxeUukcFXh TdEITCtezrFyd+eaxoy3Any9owT9YCEEGBLJbNGe8yEEwFzA2aXhAOhKvXBfsMQIUbbI /KGcC+VHcgor5fnoRZ+h5nQoFVqvCM86oVpe+BK5VA/iNO9DguGj9csTzx7nS4GkFNu3 A+k7Yfp1WybwOfQTx+nTTuFonJC/JxrV7NNXEXGhsi8P2nsX5SwiArlyyI7ExeUPwh5q RfCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=BsKbcrFj; 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 t21si2071190eds.390.2020.12.15.23.52.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 23:52:32 -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=BsKbcrFj; 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 CB29782A52; Wed, 16 Dec 2020 08:52:23 +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="BsKbcrFj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9166182A48; Wed, 16 Dec 2020 08:52:19 +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 C665E82907 for ; Wed, 16 Dec 2020 08:52:16 +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 20201216075206euoutp026a4f487c0b0c1e430a7f11393f979adf~RIxel5G-N2686326863euoutp022 for ; Wed, 16 Dec 2020 07:52:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201216075206euoutp026a4f487c0b0c1e430a7f11393f979adf~RIxel5G-N2686326863euoutp022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608105126; bh=knAMYuM5Fv2FwCCrJdg7R7ZZOjjU0BpAeAqjZRDnCJ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BsKbcrFjm7gjfYP7F3B3K+mQ7holmGOjGja+T+HabVliStlnmPJReh+asbz9cuvj1 AwLx/uiWbENMYPLjaWYSBjdxTO5PT+nMD9XOjRMijvExVcLa4AV8lW6bctZn0wC2Ic ADqEFbL5KjBofaluLFfW5xXVGwhae16H8PIA6+Ew= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20201216075206eucas1p115ad299904c1b0088461e872ed7b2f10~RIxeSL4ra0891808918eucas1p1u; Wed, 16 Dec 2020 07:52:06 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 5C.5B.45488.5ACB9DF5; Wed, 16 Dec 2020 07:52:05 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201216075205eucas1p2043cffb1d821e8a367522c3bc4313e97~RIxd05EHV0926809268eucas1p2H; Wed, 16 Dec 2020 07:52:05 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20201216075204eusmtrp1d4a3244d0d8fa471f4959c8c9f9c853e~RIxdDM12q1371913719eusmtrp1B; Wed, 16 Dec 2020 07:52:04 +0000 (GMT) X-AuditID: cbfec7f5-c77ff7000000b1b0-5e-5fd9bca5265d Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 85.9C.21957.4ACB9DF5; Wed, 16 Dec 2020 07:52:04 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201216075204eusmtip2de6ac2b36edc782c0faaec815270780d~RIxch-EPr1905519055eusmtip2T; Wed, 16 Dec 2020 07:52:04 +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 2/6] adc: meson-saradc: add G12A variant Date: Wed, 16 Dec 2020 08:51:54 +0100 Message-Id: <20201216075158.16458-3-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+NgFuphleLIzCtJLcpLzFFi42LZduzned2le27GG2y9b2OxccZ6Vosbv9pY LZ6/u8xksfbIXXaLQ33RFh2HlS2+bdnGaDFpwi82i7d7O9ktDk/9wOjA5fH+Riu7x+yGiywe 82adYPH48DHOY37ndyaPs3d2MHr0bVnF6LFx2QHmAI4oLpuU1JzMstQifbsErozXz9+wF9xh q1jwvImtgfEKaxcjJ4eEgInEocuLmboYuTiEBFYwSiz59gHK+cIo8Xn9KSjnM6PExUnzWGBa vjS9YYZILGeUeNv1FqGl+fAhZpAqNgFDia63XWwgtoiAkcSlph0sIEXMAneYJLomN4CNEhaw lmi7+hesgUVAVeLR2f9gV/EK2Eo8fPoGap28xOoNB8BqOAXsJA5vawDbJiFwhEPi7IsLjBBF LhKz+trYIWxhiVfHt0DZMhKnJ/ewQDQ0M0o8PLeWHcLpYZS43DQDqtta4s65X0C3cgDdpymx fpc+iCkh4CjRdT4FwuSTuPFWEKSYGcictG06M0SYV6KjTQhihprErOPr4LYevHCJGcL2kHi3 8w0LJIAmMkrMvXKGfQKj/CyEXQsYGVcxiqeWFuempxYb56WW6xUn5haX5qXrJefnbmIEJpjT /45/3cG44tVHvUOMTByMhxglOJiVRHj/vL0RL8SbklhZlVqUH19UmpNafIhRmoNFSZx319Y1 8UIC6YklqdmpqQWpRTBZJg5OqQYmE+eyVqOvD280nd3FesEqs8MufoJ6iz1n/Ns51qna4aWc tvO6gpLKYoMLdV599HdW1nTjU01JZrpq2TD1lNKmb769c659e3jsDsPNeVZxickGJnuf7F9Q WbeE1Vkjh7/pEXNf6P3K/UxvWkryUuaFR2wN+V/04v/BTbM41/u/f7Rqlm1tULR8+rTTZ6w8 hEq+O7MxLezJsb5f9k++RKRRXq5X9ajM1S1Pt0dOZfOZ/M3wpvkWVQ7utPVOz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uDshc9vmAjpJou0jXkojbX/7trLXJdL4Uvsl/VneExOqfczj+T/9c/kCJpTgj0VCL uag4EQA1tWNQAAMAAA== X-CMS-MailID: 20201216075205eucas1p2043cffb1d821e8a367522c3bc4313e97 X-Msg-Generator: CA X-RootMTR: 20201216075205eucas1p2043cffb1d821e8a367522c3bc4313e97 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201216075205eucas1p2043cffb1d821e8a367522c3bc4313e97 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 Add support for the SARADC variant found on the G12A SoCs family. Signed-off-by: Marek Szyprowski Reviewed-by: Neil Armstrong Tested-by: Jaehoon Chung Reviewed-by: Jaehoon Chung --- drivers/adc/meson-saradc.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c index 72b0cc4e5b..998cef24d8 100644 --- a/drivers/adc/meson-saradc.c +++ b/drivers/adc/meson-saradc.c @@ -711,6 +711,8 @@ static const struct udevice_id meson_saradc_ids[] = { .data = (ulong)&gxl_saradc_data }, { .compatible = "amlogic,meson-gxm-saradc", .data = (ulong)&gxl_saradc_data }, + { .compatible = "amlogic,meson-g12a-saradc", + .data = (ulong)&gxl_saradc_data }, { } };