From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04941C433FE for ; Sun, 6 Nov 2022 08:26:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FIJ09w1T9bhcSkPSup2LSRPxMnvc8LDZ7Xw3BjUbdjY=; b=LOHPO/bUqbG97E ycNtJ9ylqHPI7NbbQTjW1Gm44A1N3luvi/xOM/coepP1dvS4hGXWqFROsOVvVfuBwkqZ14+ZDrjCH PD7Fmd+p5SZB3/qCHZO4f8TrvmcaB7KSpLdHu9D0g7joA7aANvM8eN6r/WoMiHIUGblbrJgQxmQIg jSNXOmM5uAicCGi8c0Zib9sYINNqhTcjVueIWu5LA2DogL+HUSOgbPoSwUqEAqMCxIIKyhxXl2RMB XQ24mjtLAzzMJDT5gO+/vfpgvw+FOBKrdJzRnm1aJS9/pEx1KlkRL23rZXt2a3v+7/0PFByaeooVJ yM1MpPN/Lqkp0UmOryEQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1orayh-007iRt-Uv; Sun, 06 Nov 2022 08:26:04 +0000 Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oraye-007iR4-Vc for linux-arm-kernel@lists.infradead.org; Sun, 06 Nov 2022 08:26:02 +0000 Received: by mail-ej1-x62d.google.com with SMTP id y14so22977812ejd.9 for ; Sun, 06 Nov 2022 01:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=iMkkVzTjokrGWbF60wePAUHPChBzzzz4VP13xe+Pvl4=; b=VkQHyBRVLM3X/7q9r4x+KFZ3krHyQtPrjhPFn7ae/KZ/TqT2OmbLJEkqSy1gPyWiZs o+/X0cLgik/Yf7Vgkb021OCvwActcxXhFDyrfkykPBJ4k/pmFjpkWIP/yrUnMxMPWrt5 zJ5OOrkjVE8k5Jsk9OXuS0TfUWIg6HERB5HR4ayxdMU6A7ff/uO62lviQ9rX4kvBTwut uJ2XsryPQFVxCfaMOPLEuDlRz/Kmravra1aLuwzJXQmrZPZWE/kw+qb1f/gy3WYP5rb1 6ZLXbWoOLNc/EZTzrT29YmS/quh4w5/2YcATJlpjV4X2H4JTEGGf6xAh7g6ZI610oOFg xnmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iMkkVzTjokrGWbF60wePAUHPChBzzzz4VP13xe+Pvl4=; b=PlgmG9L5qnYFA98O5hClYVQtEl2Bpl4itOP8BDEqUxtqJmXjjzT5PR4cSP/M0BxJe7 yeM2MqZWLlD38Z2NjSUcyBKAirPWXoewaFM53d2HP+Ra7oyynT0Gez6d9IFmjSCh7yBe Ly14U76Gls1+Gv3DiaKM/Xv4Eb1+gGiTgzhkD+Ayq19+aCXZBtCk/xYL0BZEtSLFJDKd aC4Re7FXt81o0EjcO4nIh57WhDKcBwNGH4KsHJPlVlgAjxzhkiRFNDIH4mK/MNY+7Q+R w0AiCj5/cqrWqoWdS3WIwvxjL7rOPjb1lB+xlFSFplYdvnZ1qwBHY+7tOz9WbWYwz7PG KQWw== X-Gm-Message-State: ACrzQf2Ic8T8ILn2ruS9+eCbjssH1PFZYO+9i5sAnQ92mdylQU0PpciS Ixq0DyuqU/nU6qlpcg3WRHM= X-Google-Smtp-Source: AMsMyM47mGYqM7uM25Nj6eKtulEjXm3wNmW2uNtAL8wo8j6Up4cBvqLEI6qqJbWvwFQXObbvEik9mA== X-Received: by 2002:a17:906:9bd4:b0:7ad:2d86:418c with SMTP id de20-20020a1709069bd400b007ad2d86418cmr42896478ejc.380.1667723156918; Sun, 06 Nov 2022 01:25:56 -0700 (PDT) Received: from jernej-laptop.localnet (89-212-118-115.static.t-2.net. [89.212.118.115]) by smtp.gmail.com with ESMTPSA id em3-20020a056402364300b00458824aee80sm2334858edb.38.2022.11.06.01.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 01:25:56 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Samuel Holland , Chen-Yu Tsai , Rob Herring , Krzysztof Kozlowski , Andre Przywara Cc: devicetree@vger.kernel.org, linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Icenowy Zheng , Hans de Goede , Dmitry Torokhov , linux-input@vger.kernel.org Subject: Re: [PATCH 9/9] ARM: dts: suniv: f1c100s: add LRADC node Date: Sun, 06 Nov 2022 09:25:55 +0100 Message-ID: <45074583.fMDQidcC6G@jernej-laptop> In-Reply-To: <20221101141658.3631342-10-andre.przywara@arm.com> References: <20221101141658.3631342-1-andre.przywara@arm.com> <20221101141658.3631342-10-andre.przywara@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221106_012601_044758_0DA3177D X-CRM114-Status: GOOD ( 17.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Dne torek, 01. november 2022 ob 15:16:58 CET je Andre Przywara napisal(a): > The Allwinner F1C100s series of SoCs contain a LRADC (aka. KEYADC) > compatible to the version in other SoCs. > The manual doesn't mention the ratio of the input voltage that is used, > but comparing actual measurements with the values in the register > suggests that it is 3/4 of Vref. > > Add the DT node describing the base address and interrupt. As in the > older SoCs, there is no explicit reset or clock gate, also there is a > dedicated, non-multiplexed pin, so need for more properties. > > Signed-off-by: Andre Przywara > --- > arch/arm/boot/dts/suniv-f1c100s.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/boot/dts/suniv-f1c100s.dtsi > b/arch/arm/boot/dts/suniv-f1c100s.dtsi index d29b48f23b89a..03592c8e63fed > 100644 > --- a/arch/arm/boot/dts/suniv-f1c100s.dtsi > +++ b/arch/arm/boot/dts/suniv-f1c100s.dtsi > @@ -262,6 +262,14 @@ ir: ir@1c22c00 { > status = "disabled"; > }; > > + lradc: lradc@1c23400 { > + compatible = "allwinner,suniv-f1c100s- lradc", > + "allwinner,sun8i-a83t-r- lradc"; > + reg = <0x01c23400 0x100>; User manual says 0x400 is reserved for this peripheral. With that fixed: Reviewed-by: Jernej Skrabec Best regards, Jernej > + interrupts = <22>; > + status = "disabled"; > + }; > + > uart0: serial@1c25000 { > compatible = "snps,dw-apb-uart"; > reg = <0x01c25000 0x400>; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel