From patchwork Fri Nov 19 19:14:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Boger X-Patchwork-Id: 12693148 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2318FC433EF for ; Fri, 19 Nov 2021 19:22:53 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id E64A261A0C for ; Fri, 19 Nov 2021 19:22:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E64A261A0C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=wirenboard.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=Bo9aJa/dutiV/8AqQ6JbuLd4D1lGUD1715bWr279bWA=; b=WaqV7+Qzit1xQx A3Kn1DUnkAj2LfqWsKpHXN9J391j0/n5MDrKumN5gDRi+NCVLmk0gOgCnSCLpD5qQkLJ3I8UwpmAO 1JZ3B+WxyWBVLj90z6h5vs1Rxe8QQuH6dEnejLhw6BBtEpViXWgAbUsmLZHdKT3MPJmJOc7YaSbWO 6MA95Tz6d4d5V/k1Lgou4ssfCDOMGT8UcurMzhHXIJBZNlr8VMfyddVlUaFf8Zh7+gPqXxBhpWPTe z+y638gohjsK6HGVVqwaOV0s/E04QZ08Ys37fgf/c/Mw9JhX6yHrPG3L5Db356/n1MYQJ5jQbWsna 3sIRpWw6SqNGup3Pnrjg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mo9RN-00BRHZ-4M; Fri, 19 Nov 2021 19:20:54 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mo9Lw-00BQAD-0l for linux-arm-kernel@lists.infradead.org; Fri, 19 Nov 2021 19:15:18 +0000 Received: by mail-lf1-x135.google.com with SMTP id b1so47396534lfs.13 for ; Fri, 19 Nov 2021 11:15:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wirenboard-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9V4Hpv6UNWdRgHARpjljLPLAlbYv9H5cBhCpbSSCi+c=; b=f7rVKibT3ecrqCR0cs8vfe4FUDUZpkC2KqGSAXEQMFj2vekBjOILbMhzEq1i6vPYzT 3vy8ZsvpvNMVwxYAXZSVCOjOr9rQzEWPk9vLd+YWzFq9qtayWT8X6yzYGM8eF8zjCu1u Fx84ccQbk4K/fRYJaHwUatGQcDF21etw/xzCK7cL49iFR+WTzKu6vs6GMQpv2O4DV0hk /o9u9J3r0xpbHuEHLdS5f4FF/a7JqBUdOu91yujKs1xRPuHBu67Ti2viXY/nu6eLZX/0 9H6kmTQxh8fyFSTA04h0NyrN4o1mkpweRVYDSuoqMcfz8+DQYcD69fKBjyQowYhwB5za yO0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9V4Hpv6UNWdRgHARpjljLPLAlbYv9H5cBhCpbSSCi+c=; b=yWEJ7DgSkgEUsTqX1VTfIkXDfHTgdOkx8mEqcr1wIbyl3HcK9UP275r5vbGEF57A9+ n8vna72wi5iaBouVW0levIcHI+BUzqVgxrpiwbErB4ArRsQyWHKm2X6f7hFBUEbMrfgU juD7Z/PA8DdjbhSE9ZKAX029ssPvuB3MRHOARYZI95Bg9J0kUJPep4XnRIwJMnVOnt4v /BemAsaEE14m6hmc65eccqnN9uQp5O44At7DBtzyFcPQjhVxZjm8wYbjFZBq9YHBzaLX 3N+4LEQ0fiKQY/6xZ6UUHLfN2uoQ9ZtXJ1HuAQCV/Sflf1zpfhwmtZbwbX2QCAuST+zE DYKA== X-Gm-Message-State: AOAM5312kjWMPQI9AxveUlXz+lI12n0WlIXcskHTR565Vr75/V6wTp8o kExtKjGxHVgMM0VbZx4rTuqmfheOJwxYdQ== X-Google-Smtp-Source: ABdhPJxHKK81BOCRmq9i0bH5Ik3SOWDmpYRjcSqLtGov2dr/uD2ezBgt0kps6WS4s0VWUQp3y4f0xg== X-Received: by 2002:a19:6412:: with SMTP id y18mr36119126lfb.494.1637349314198; Fri, 19 Nov 2021 11:15:14 -0800 (PST) Received: from boger-laptop.lan (81.5.99.121.dhcp.mipt-telecom.ru. [81.5.99.121]) by smtp.gmail.com with ESMTPSA id d4sm67676lfg.153.2021.11.19.11.15.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Nov 2021 11:15:13 -0800 (PST) From: Evgeny Boger To: Chen-Yu Tsai , linux-sunxi@lists.linux.dev, Maxime Ripard Cc: Evgeny Boger , Lee Jones , Rob Herring , devicetree@vger.kernel.org, Jernej Skrabec , linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: dts: sun8i: r40: add rtp node Date: Fri, 19 Nov 2021 22:14:56 +0300 Message-Id: <20211119191456.510435-4-boger@wirenboard.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211119191456.510435-1-boger@wirenboard.com> References: <20211119191456.510435-1-boger@wirenboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211119_111516_100962_E8DD5664 X-CRM114-Status: GOOD ( 12.37 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org R40 SoC has touchscreen controller also serving as general-purpose ADC. The hardware is very similar to A31, except that R40 has separate calibrated thermal sensor IP, so temperature sensing channel in RTP is not documented and is not to be used. Signed-off-by: Evgeny Boger --- arch/arm/boot/dts/sun8i-r40.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index 1d87fc0c24ee..3e98f24c1400 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -786,6 +786,14 @@ ths: thermal-sensor@1c24c00 { #thermal-sensor-cells = <1>; }; + rtp: rtp@1c25000 { + compatible = "allwinner,sun8i-r40-ts", + "allwinner,sun6i-a31-ts"; + reg = <0x01c25000 0x100>; + interrupts = ; + #thermal-sensor-cells = <0>; + }; + uart0: serial@1c28000 { compatible = "snps,dw-apb-uart"; reg = <0x01c28000 0x400>;