From patchwork Sat Jan 12 13:06:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 10760967 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EACFE6C2 for ; Sat, 12 Jan 2019 13:07:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DA45C295E6 for ; Sat, 12 Jan 2019 13:07:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD4BA292F8; Sat, 12 Jan 2019 13:07:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 64B3A292F8 for ; Sat, 12 Jan 2019 13:07:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M+bxALqdCPmAPH+P8QaT2dKbE79tYA0wBFq28O9FcsY=; b=Jo0hc+f7PdniUA oJAEz/lMoQDev5OnG7dKrcoNTr+XMnenAFw6IOeWWkNKUeWHZ8fgFR4ehKLvpvsXBJb9MffMQjn82 c4w+Sr4AyAnPqXFVDwHjCpXf4FSDVoLYgG5MNB5/kGhfj+R7ylNL+v1s/LIuCdHSQGW4mjARLAggQ 5ztomDL48iIDGNFEUK9p4+glYbSmyNyl3XXyrpDQyVrWfUmmbjCfpt5Ime3M7h8SqwVU1Nm2RyUzX mk87Uytq9n5V3jkcaYzQaUiwk0b7CQ0KnEQyMGSXqh/IOBFYNNVaWENDzvY8+bpUxecyzb+ERe3HI k4Og9mzrIeySHRkD29Zw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1giJ0J-00082c-7F; Sat, 12 Jan 2019 13:07:11 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1giJ09-0007qL-1f; Sat, 12 Jan 2019 13:07:04 +0000 Received: by mail-wr1-x441.google.com with SMTP id u4so18056483wrp.3; Sat, 12 Jan 2019 05:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1uHQ4bAZjvNO49qpkLTZD4pYtUclz2GooyqEYvlGNx0=; b=Yi1XJ6K7Egz432Q6FVhEN6C/3Wz7DtElkRVQcCnxd0RxSivuDpK8q6Fy4sKPSOBc5Y KF7oCUIFQ4hDBA6pf8sNBkmVzVaOI+DwzBD8BQN9cZyFjDQ/DEXJVFFAPUpfWn121Cx+ kOGp7knpDmKsIxcz3C8otlQX2y9mM3EXwAN7Eh3QMRA5ICRVf9dY1SPY4aZPvYbIWCEr SbVqbd6vjPf2iXFRWBhif+sldjXS1MsPh6Ee4g4rpESu0Jcd17HgELX902Zle/QWaK2V VleNVBD5v84Y8XlHDv5P0brRHEteQv8KXPGlrVWSX/kBpITgEFBdvLT1yvdBfV6Z++Zn 1nWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1uHQ4bAZjvNO49qpkLTZD4pYtUclz2GooyqEYvlGNx0=; b=n1TLvAGXv85r8rE4lgRgQZVr2DBVTqXheOn5/QX6/EwgUgGRJJLJ2PZt/KxPRcLdeD blLCLwJLBz5sfuUI+KarPummeT171Ii2CWcrbYy4tdaPrqp1pdLvZeQjfIwQQpJOWR7a EUO9dUpJ4BZEhdW3k5O4rGWvezFCHIBCV+cBYy+DVW/UnTtt9YyD7CvrcME+gaMdDg3v SG9odITc814ClCpuN8Vd0Tko8a5eii9+p6Y8WYFu4/F+Yhm2Rb0WRCznAZBXdAOdeqzA fXXFX6IoiQ5UqP6bVkifdb9ESlb5K1GoWHyNMQgFnKcxEbMA2Ne5EONaWpK7+2HIcSu9 6p6g== X-Gm-Message-State: AJcUukeP+xe4v1wtud2UkJIhv/5Ipjxa0xEi6UuVL9IyxnRooU3xsWKD nQ/oJ5nc2QRhwg+ZX/doq+K+wL4i X-Google-Smtp-Source: ALg8bN6oKrtpJcpBPXFYbJMXhbtYjvdAsL4ZSNLxrD1cptjhN/qZtMmpPqOv9Jsdc+eaZbeZfbXD3g== X-Received: by 2002:adf:f504:: with SMTP id q4mr18065614wro.321.1547298415663; Sat, 12 Jan 2019 05:06:55 -0800 (PST) Received: from blackbox.darklights.net (p200300DCD7329F008D685E3E728ED25E.dip0.t-ipconnect.de. [2003:dc:d732:9f00:8d68:5e3e:728e:d25e]) by smtp.googlemail.com with ESMTPSA id o5sm37804630wmg.25.2019.01.12.05.06.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Jan 2019 05:06:54 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com Subject: [PATCH 1/6] ARM: dts: meson8m2: use the Meson8m2 specific SAR ADC compatible Date: Sat, 12 Jan 2019 14:06:44 +0100 Message-Id: <20190112130649.23838-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190112130649.23838-1-martin.blumenstingl@googlemail.com> References: <20190112130649.23838-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190112_050701_292877_873D2AA0 X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , linux-arm-kernel@lists.infradead.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The SAR ADC on Meson8m2 is slightly different compared to Meson8. The ADC functionality is identical but the calibration of the internal thermal sensor is different. Use the Meson8m2 specific compatible so the temperature sensor is calibrated correctly on boards using the Meson8m2 SoC. Signed-off-by: Martin Blumenstingl --- arch/arm/boot/dts/meson8m2.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/meson8m2.dtsi b/arch/arm/boot/dts/meson8m2.dtsi index d1a28c2adac5..bb87b251e16d 100644 --- a/arch/arm/boot/dts/meson8m2.dtsi +++ b/arch/arm/boot/dts/meson8m2.dtsi @@ -50,6 +50,10 @@ }; }; +&saradc { + compatible = "amlogic,meson8m2-saradc", "amlogic,meson-saradc"; +}; + &wdt { compatible = "amlogic,meson8m2-wdt", "amlogic,meson8b-wdt"; };