From patchwork Sun Apr 24 08:21:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viacheslav X-Patchwork-Id: 1621482 X-Patchwork-Delegate: narmstrong@baylibre.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lexina.in header.i=@lexina.in header.a=rsa-sha256 header.s=dkim header.b=C74TepAV; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KmLkL6pfgz9s0w for ; Sun, 24 Apr 2022 18:23:06 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8701683E63; Sun, 24 Apr 2022 10:22:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=lexina.in Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=lexina.in header.i=@lexina.in header.b="C74TepAV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EBFFA83A9D; Sun, 24 Apr 2022 10:22:19 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mx.msync.work (mx.msync.work [185.250.0.168]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8E1A983E4C for ; Sun, 24 Apr 2022 10:22:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=lexina.in Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=adeep@lexina.in Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id AA1E152EC8; Sun, 24 Apr 2022 08:22:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1650788529; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=f/xrZ9j5v4f1Ae1i0PgTc+2kGsjiNvYtN+GyPxvdUfE=; b=C74TepAVYZTCC5R4yV8xXvoSvRTa7HOeXcWYxoRyT3Erf2A6mqBbZtNy50q12Lofcf66iw aNfXTtz/YvAhDY79jD8pazDKfGJrZTt1xe9F0U2Epph+W55VBRGTVPdq58UWToWyEBfIrZ YGBL3/F3FLiRrLZTpc20f+atsVVZWPevcwqKj+Cry4iJePArGIJlHFJpWnb5KzGN7sVfW6 MU3jmdE5yQFQN77Coksny6/g15suRDbuzUXXJFEhy5GsSNJQkHh789EYN+AkFxWWfjw6iu 1OO6hv/P798jhr549dIvCPP5p6m+RaT2KdHDwSZXED6CkmvG/Eo0OCA2DdI2+g== From: Vyacheslav Bocharov To: Neil Armstrong , Lukasz Majewski , Sean Anderson , u-boot@lists.denx.de, u-boot-amlogic@groups.io Subject: [PATCH v3 4/6] adc: meson-saradc: add AXG variant Date: Sun, 24 Apr 2022 11:21:57 +0300 Message-Id: <20220424082159.757622-5-adeep@lexina.in> In-Reply-To: <20220424082159.757622-1-adeep@lexina.in> References: <20220424082159.757622-1-adeep@lexina.in> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.5 at phobos.denx.de X-Virus-Status: Clean Add support for the SARADC variant found on the AXG SoCs family. Signed-off-by: Vyacheslav Bocharov Acked-by: Neil Armstrong --- drivers/adc/meson-saradc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/adc/meson-saradc.c b/drivers/adc/meson-saradc.c index 1a45a3a265..37023512f0 100644 --- a/drivers/adc/meson-saradc.c +++ b/drivers/adc/meson-saradc.c @@ -737,6 +737,8 @@ static const struct udevice_id meson_saradc_ids[] = { .data = (ulong)&gxl_saradc_data }, { .compatible = "amlogic,meson-g12a-saradc", .data = (ulong)&gxl_saradc_data }, + { .compatible = "amlogic,meson-axg-saradc", + .data = (ulong)&gxl_saradc_data }, { } };