From patchwork Tue Dec 15 14:42:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 344012 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3974738jai; Tue, 15 Dec 2020 06:43:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyD5PZ1w4qv0CLXNK7yOjTpohKBj6I/jiXPC3R35YTsiOAwyKS8uBcDRtMfiCn+QWnV6b4I X-Received: by 2002:a17:906:d8a1:: with SMTP id qc1mr7001245ejb.294.1608043423186; Tue, 15 Dec 2020 06:43:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608043423; cv=none; d=google.com; s=arc-20160816; b=cLvrjRgeQ9QxIaAiQyL+dHbBnQsnOYI5x9U9bUh+YbuM9liJ+iANcYDdQu/fVWMz9+ JYBRmM8ezBuK2zkWxNdLItw9tiGy5L6Mf8ww5KzFobFV7XsltFtaldBKxSCiO/vAk96e xX7Y9Lsvd8T/YgE1kpECeCP08L0v8x4/TOay47fJ1t/qa5/rgks8uGhruoo0P6HHd/Qv oVmGEUpViDuztz2+nbEC5QONtbG3hKO7HCoN5XClaQXvJ5VISdCaOnBb+ecTm5eiUHmr vyjFoLjIPtTUAxYxU8Tg2YQ2WgvotyCcsOwPQLUAEd5TPGzTbLFf8YJM2StGYgOBp8W1 ZpzA== 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=Fmu/WrAVGaUZdljRbv6zK7Au9H7aul93e+qC9lIPU1BkJFZ3pKPvvvqAPiPZzpuBx3 3i3AmXBXacrLtC8voyhLnbHq/Hk1H7fzcQaOvsVlt0Oy07YKoR848PJntc72UWnnszYi a6I/k5tOqU2G47gy+AFYIB+O8/9uMWXG9jS/JJJuYay0ZCFqYAhvrr81ZfOQnjcsO1cF WceDncU+EUIzKr+k3r2Az5Drp+7dKLz1qpdXGbT+TuI9lmIL3c/aCwJfIMAA3p5EIZRy 1o6VHe0dfHNNn2oHRUUqAU83BcE3iLtOVrjb6dERndprHgOHKmzQv0TSq5BZdaTd5TUk 1u0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=njRUkEmb; 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 a3si984089ejx.101.2020.12.15.06.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 06:43:43 -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=njRUkEmb; 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 D15CA829B5; Tue, 15 Dec 2020 15:43:13 +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="njRUkEmb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BC799829AD; Tue, 15 Dec 2020 15:43:03 +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 1FCEE829A9 for ; Tue, 15 Dec 2020 15:42:59 +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 mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20201215144248euoutp02a92558368bf967889665e2c6b00a2649~Q6uyKfpni1507615076euoutp02k for ; Tue, 15 Dec 2020 14:42:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20201215144248euoutp02a92558368bf967889665e2c6b00a2649~Q6uyKfpni1507615076euoutp02k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1608043368; bh=knAMYuM5Fv2FwCCrJdg7R7ZZOjjU0BpAeAqjZRDnCJ4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=njRUkEmbMJ45OCuaJUC1GgXqdJAzxxkaSd5tHpNpaB0MeACBYo8RENpk9k+nDoHJD yhZQ2mvjMKZDqVc8QxjAFSIYZmmxaU6oCrL2I9R7f/+UpK721R4V8/DFhLGelZRY+U d/ggBDjofBbgmC5XJg2SROIijb0DVCnjlGWwv0Cg= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20201215144243eucas1p24cf3be54040197763a1bd73085d1c520~Q6utVQ1Po0227602276eucas1p2B; Tue, 15 Dec 2020 14:42:43 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id AA.C0.45488.36BC8DF5; Tue, 15 Dec 2020 14:42:43 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20201215144243eucas1p281404c3b46cd0b32811c1af3a2ef2ba4~Q6us_Ddcz3233932339eucas1p2O; Tue, 15 Dec 2020 14:42:43 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20201215144243eusmtrp2e18313667b875395c83ae78afd4446cc~Q6us9ewGb2505225052eusmtrp2v; Tue, 15 Dec 2020 14:42:43 +0000 (GMT) X-AuditID: cbfec7f5-c77ff7000000b1b0-a5-5fd8cb6300e7 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id D0.A0.21957.26BC8DF5; Tue, 15 Dec 2020 14:42:42 +0000 (GMT) Received: from AMDC2765.digital.local (unknown [106.120.51.73]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20201215144242eusmtip2bfa9fc4ee0ff13b6ec94c1aa59e186d5~Q6usZWgo93260432604eusmtip2i; Tue, 15 Dec 2020 14:42:42 +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 v2 2/7] adc: meson-saradc: add G12A variant Date: Tue, 15 Dec 2020 15:42:25 +0100 Message-Id: <20201215144230.9235-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201215144230.9235-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmleLIzCtJLcpLzFFi42LZduznOd3k0zfiDT5eELDYOGM9q8WNX22s Fs/fXWayWHvkLrvFob5oi47DyhbftmxjtJg04Rebxdu9newWh6d+YHTg8nh/o5XdY3bDRRaP ebNOsHh8+BjnMb/zO5PH2Ts7GD36tqxi9Ni47ABzAEcUl01Kak5mWWqRvl0CV8br52/YC+6w VSx43sTWwHiFtYuRk0NCwETixqqFzF2MXBxCAisYJfbd2sYG4XxhlHi69QoThPOZUWJyxwlm mJZXs6dAVS1nlHj0eS8zXMvvd5cZQarYBAwlut52sYHYIgJGEpeadrCAFDEL3GGS6JrcwAKS EBawlti1YCdYA4uAqsSELwvAGngFbCSmPu9kglgnL7F6wwGw1ZwCthJ/Jq5ih4gf4JCYuSoW wnaR6D71hAXCFpZ4dXwLVI2MxP+d88F+kBBoZpR4eG4tO4TTwyhxuWkGI0SVtcSdc7+ANnMA nacpsX6XPkTYUWLrhiNgYQkBPokbbwVBwsxA5qRt05khwrwSHW1CENVqErOOr4Nbe/DCJagS D4nrPwUh4TOBUeLbxbvsExjlZyHsWsDIuIpRPLW0ODc9tdg4L7Vcrzgxt7g0L10vOT93EyMw vZz+d/zrDsYVrz7qHWJk4mA8xCjBwawkwttbej1eiDclsbIqtSg/vqg0J7X4EKM0B4uSOO+u rWvihQTSE0tSs1NTC1KLYLJMHJxSDUzK/2ZLttc1K8ZGStUpi+grrXzqWbr8eX78RX6phsMb Emt0b7SE/LTJ0Vyq0LRsSYLnzRM6H5keWCUuePnzN3NC+I+maWtaRK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fR+KPt45NjW3hOCW3gf10n cnhC3C+DmxNn/93Ic1DbW6art/vvgvTLCy2P72LYvJLZ/a7uk/A5qdouhQE1m43XHC79spSv b3es/Pa6toq7GrN+ahYdVsjKdfsvP6vH1lxhRdDC3ReT/vax+c+ps5TKP7rj98OrCtyC6ZKy 3Lms/jaMv1Xqnmt4/1/4l5NNqSPhYOElt+mtsczXu3OZV30P1xTeOWul2o0PSizFGYmGWsxF xYkA8RBi5gADAAA= X-CMS-MailID: 20201215144243eucas1p281404c3b46cd0b32811c1af3a2ef2ba4 X-Msg-Generator: CA X-RootMTR: 20201215144243eucas1p281404c3b46cd0b32811c1af3a2ef2ba4 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20201215144243eucas1p281404c3b46cd0b32811c1af3a2ef2ba4 References: <20201215144230.9235-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 }, { } };