From patchwork Sun Apr 24 08:21:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viacheslav Bocharov X-Patchwork-Id: 1621484 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=i262aVEM; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4KmLkp0NTwz9s0w for ; Sun, 24 Apr 2022 18:23:29 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 16EF383E71; Sun, 24 Apr 2022 10:22:44 +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="i262aVEM"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4904A83E31; Sun, 24 Apr 2022 10:22:21 +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 D2F6983953 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 0D9D252EC9; Sun, 24 Apr 2022 08:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lexina.in; s=dkim; t=1650788530; h=from:subject:date:message-id:to:mime-version: content-transfer-encoding:in-reply-to:references; bh=wSL+KQbIibmn4+AX8eTgD0llF+CxA4RZtYNA53J/qus=; b=i262aVEM7ZI2l1VeX12ZEWiDw4cZqQvKHHAjz7XJCIt6p+7KDwfCwHKdz3BzXntOd3JhZo 3eMtw946WxdTnnBs9YsuSYQ7PDWW3CYAF9TiCN7gv6no7ait1f7SmrBlPKJaS6RtlY8isc XUHnbsgO70vPImMhXHJqkeSKDzBYmN1i4YjorsMgktZx6G+l3jhFVkosMbReQK2bE6YwG+ hFiJkvTulLzdaQFWrAiBkpxZK1zuTpkGRxyFNImGzJLwgSUZ/XG5V60l+SpdvQE479qNYF ppSLqAoELjCUpG0RShGaHrYvIXG3Rp6q7qURJrWGiRBd00Qsw4kbEMcpPLcUYg== From: Vyacheslav Bocharov To: Neil Armstrong , Lukasz Majewski , Sean Anderson , u-boot@lists.denx.de, u-boot-amlogic@groups.io Subject: [PATCH v3 5/6] board: amlogic: jethub j100: enable saradc in dts Date: Sun, 24 Apr 2022 11:21:58 +0300 Message-Id: <20220424082159.757622-6-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 Prepare to use ADC channel 1 to check the hardware revision of the board: - add u-boot dts include with saradc node Signed-off-by: Vyacheslav Bocharov Reviewed-by: Neil Armstrong --- arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi diff --git a/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi new file mode 100644 index 0000000000..3ecb233f8e --- /dev/null +++ b/arch/arm/dts/meson-axg-jethome-jethub-j100-u-boot.dtsi @@ -0,0 +1,10 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Vyacheslav Bocharov + * Author: Vyacheslav Bocharov + */ + +&saradc { + status = "okay"; + vref-supply = <&vddio_ao18>; +};