From patchwork Thu Nov 8 13:53:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10674253 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 6FC6F15E9 for ; Thu, 8 Nov 2018 13:55:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C70E2DA4F for ; Thu, 8 Nov 2018 13:55:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4FE2A2DA5D; Thu, 8 Nov 2018 13:55:28 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 D97262DA4F for ; Thu, 8 Nov 2018 13:55:27 +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=lMUwpVk1pLwESlvVtgq+s0j9eg+avDHIG2byoYjUqDo=; b=hAJ/awdLW8Dtbx ZUUXO/WePsOo/zVAwrO3ZVUnE5qMYfaFZd5HYI+VlRt/gNI2mat+oTqXG2MsfHtQDF7b9paacdyoh LtKA3rhDapAqByBZi5UOVp6l7EsxcboA8OsIMLzwC/sKiYM1iT0ZEAWsRedzIzWbpQ/ViyUzp9Nkc nNNFPCfARgNItFSv/xgeaiQrc+h9no8eWnqbdS+KWicjo3q1/wkiVNvZTm/cx4yhs9A33lxVwXiIv adQbM7BN54qYC7NGaw7vRnQPx2rTWKQGflO9PGUZ5X8C5vmyaVXUqV+EQKwh2yeM1kTIiwNF7fK0u 7l+ArHwz6cGiihIQ5DLQ==; 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 1gKkmL-0007P2-F4; Thu, 08 Nov 2018 13:55:25 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKklC-0004y3-7V for linux-amlogic@lists.infradead.org; Thu, 08 Nov 2018 13:54:19 +0000 Received: by mail-wr1-x442.google.com with SMTP id j26-v6so21370904wre.1 for ; Thu, 08 Nov 2018 05:54:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jmLKsj8MdV/bQegPzrUFYLlxjsgIqYnOv75dL5siDLw=; b=mB3UV0Tsm6oLqjrVTx5217FgZFpvk4ew+1cqZjqJzhyZGMiWtI6dPobpW7W+8tXl8j 9EcgGt6Abb8iCn2RWF9S9H1rj/9U3DHMLBqieQnhu+shLVfCtFEzt/3KWLHAr7LVsVaE /MBi7lWmhbf5KE+3feyy2nl4EjwF4L1tpAnn5xW7DgxObTC/294IaPcD2axz/GKXb5dk QpBIw5cviPZhN2nsJ/eRDj7MXbO5M/8xNy95YLkBjt2OoGC9gTVPCkWJWdUy9F7YhTwZ rFmW0PB24rwmIbEAkH2+wo7Y14cD3/mtqXvjZCADyV863hUnV9EYxcsCPb0MJAoEvt3V CF2A== 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=jmLKsj8MdV/bQegPzrUFYLlxjsgIqYnOv75dL5siDLw=; b=n7U88CunkK4uBa18hJJbB1i5jGkNh7clGnqOApI55D5Kwk1p4rh8rJvabiWwjIhRPk fgxVf8SFq+qrZQwzY1yuUumHIFZBIrsVRY1mF+Y4OlnGy4/fOuvB4fWlB5D9n5eR4eYQ vZftmxj51vZXDrTBr04w9CZVzoFymtZuif5qlQuE44mIPbvv2uFNBekINW8M9wq8+YuB 3fBJMAzsGkXNP1hIjLz7RzesitBg6Jaa+75HzC0fuaEYVsQ9ii27O0Ctr6GZc/7FBwN9 cWUNcAWG5x+d5ThpRRXwu4cO5DubMiUQy2EYC0YS+CngG7AcQCL8NufSYxwxT+7rG7Ky Ffgw== X-Gm-Message-State: AGRZ1gILsPXJ+q9/CphobxQY75kNUA1NbGfYWwwZ4mWEbVRvfjWhsdb9 htl356vECi1sWihln5PHhYDT8A== X-Google-Smtp-Source: AJdET5fG2F9vW2BLLbxBe9ho4kr7vSWp85lKizQ0SfM1KaALQ9Vx1rn3dASEu1r5Ne9T8aKysI4kwA== X-Received: by 2002:a5d:6a0e:: with SMTP id m14-v6mr4359472wru.76.1541685240652; Thu, 08 Nov 2018 05:54:00 -0800 (PST) Received: from boomer.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p6sm2740329wrx.39.2018.11.08.05.53.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 05:54:00 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 1/4] arm64: dts: meson-axg: fix mailbox address Date: Thu, 8 Nov 2018 14:53:49 +0100 Message-Id: <20181108135352.8459-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108135352.8459-1-jbrunet@baylibre.com> References: <20181108135352.8459-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_055414_382224_E1F58006 X-CRM114-Status: GOOD ( 10.37 ) 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: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP MHU mailbox address is wrong. Fixing it enables the mailboxes on the A113. These mailboxes are needed for SCPI Fixes: 9d59b708500f ("arm64: dts: meson-axg: add initial A113D SoC DT support") Signed-off-by: Jerome Brunet Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 3cc0044d3468..ff8b3406aff6 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1067,9 +1067,9 @@ }; }; - mailbox: mailbox@ff63dc00 { + mailbox: mailbox@ff63c404 { compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu"; - reg = <0 0xff63dc00 0 0x400>; + reg = <0 0xff63c404 0 0x4c>; interrupts = , , ; From patchwork Thu Nov 8 13:53:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10674247 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 7730C15E9 for ; Thu, 8 Nov 2018 13:54:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65A7C2DA34 for ; Thu, 8 Nov 2018 13:54:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 596662DA41; Thu, 8 Nov 2018 13:54:56 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 EA3692DA34 for ; Thu, 8 Nov 2018 13:54:55 +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=iJSkaeAIs3epIU/3TYO+YoaBR89WInf+7BhvZzLQ92k=; b=Uc9KFC7CR5c+yf eoihS46s6ND8cMUNO7+QPdvZsMEGkd28kPTA+KWIRX73rlOXQd5/m5DZF36JLSVUwVjvURwSQF8Jk ON4CRm+JYS77CAs+kah28HTJPLH8ijOKed6egJUFlKBXFXnzWAH7R37f9OUEpsX3NrXUU4nuvDFdm zrUTlPMip5lpr/l+VHLvFMHJDudJYCaJDOW09DyKMZirn6VoWDFWRTfHZanMnlfHKgIj2NPFarP1N cEAlYecdoGnixd8UEYgrkKjm6du8NCltYLMZHz/kB8Z8Vokugxk4bxwz30wTU6qOvcdnP3yRlAwjG Lby0X65CuZ0oDl+9dLJw==; 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 1gKkln-0005kW-Jf; Thu, 08 Nov 2018 13:54:51 +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 1gKklB-0004y7-Ut for linux-amlogic@lists.infradead.org; Thu, 08 Nov 2018 13:54:17 +0000 Received: by mail-wr1-x441.google.com with SMTP id i17-v6so21347100wre.7 for ; Thu, 08 Nov 2018 05:54:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=M6wN89PoGt3bKaR1gaIBVeliRc8f7Zk35/q79yr4xdc=; b=EVLOQZ03k5jca71fOCeEafYR13Fz/ywvjnKqpE/iRuuvehi/s1Avjl6xn/r/ixuGYg JMpX9/4c6EXXB0Ke519yhje6f60hzvbfGhfOXjBwN55/6MOmNtm/ipeqxyi1bF1kQxmr UyAs4yeierU8TQXwJ+eCEeTI7L3Xh5tl4QnJC9Q28pEQ0ZlAH2piq3Pe86DpNjQmIySa BRiJSJVnyX/jDOOEfJOorUWxySlXwcRdUGh0JXCZm4+ORcFq5OTqn4wEyW4quMYOgoVc Isuob/KyUzlShijPn2wVv2uoZ76UIkqBIFX9z2mrHfSBNYhumpxBHwFqx3Q5ympuhX5W CS/Q== 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=M6wN89PoGt3bKaR1gaIBVeliRc8f7Zk35/q79yr4xdc=; b=kmXrV6CSl+o8VQym7aVZbB1m5X4ANETEXC/GJaeGHZXYW9voQUkIJJxXFemaHpvsRv 5vcFeqmIFzSmsADUQtzy/ggc9b4o1WfJKBIyffoDe9u6WOW4ZUByF/T30qy2c6/J4eF4 9bSarQnrr0yolmrNEqP9FWKAC237hTl0i76v1ZxHgYEBeWOuSsB7seoxIp84U25epPMl hN/7vFnUr4HlM28erm1n9FjzqZvAAZ5oLv3U+XCVC3re/l9owBr3Ec90XlpbyH9J7Yfw b4XH859FNUyqaVHXMGUs+fo+JjR8XAIMB2gVdLne5g92/X9osLcYEYYSDyoZhvPdX7N4 qwDA== X-Gm-Message-State: AGRZ1gJXxURpLRqRAqkh808QY6Ys5yb5PjPgoGsMEGDxv1+VgtMqXic3 XAX6gOGa0oIs5kQmWBZBnGTh0w== X-Google-Smtp-Source: AJdET5fHuLcNr+6JQ1+U6U1lkyAKgXs9U989wCaDAnTcT/skHgYnlzWgX4g6zUkwEVbvanGCucajOg== X-Received: by 2002:adf:a409:: with SMTP id d9-v6mr4288460wra.190.1541685241601; Thu, 08 Nov 2018 05:54:01 -0800 (PST) Received: from boomer.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p6sm2740329wrx.39.2018.11.08.05.54.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 05:54:01 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 2/4] arm64: dts: meson-axg: correct sram shared mem unit-address Date: Thu, 8 Nov 2018 14:53:50 +0100 Message-Id: <20181108135352.8459-3-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108135352.8459-1-jbrunet@baylibre.com> References: <20181108135352.8459-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_055414_081648_2FFB79D6 X-CRM114-Status: UNSURE ( 9.72 ) 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: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Correct the unit-address in the node name of the SRAM shared memory Signed-off-by: Jerome Brunet Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index ff8b3406aff6..b8893675e39c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -1659,12 +1659,12 @@ #size-cells = <1>; ranges = <0 0x0 0xfffc0000 0x20000>; - cpu_scp_lpri: scp-shmem@0 { + cpu_scp_lpri: scp-shmem@13000 { compatible = "amlogic,meson-axg-scp-shmem"; reg = <0x13000 0x400>; }; - cpu_scp_hpri: scp-shmem@200 { + cpu_scp_hpri: scp-shmem@13400 { compatible = "amlogic,meson-axg-scp-shmem"; reg = <0x13400 0x400>; }; From patchwork Thu Nov 8 13:53:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10674237 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 4BF7F109C for ; Thu, 8 Nov 2018 13:54:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3A6B82D9B8 for ; Thu, 8 Nov 2018 13:54:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2E3172DA34; Thu, 8 Nov 2018 13:54:18 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 937212D9B8 for ; Thu, 8 Nov 2018 13:54:17 +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=swnBhoiPMQt4g+fEaATgq1wG0uAjNBoPtpYOT8hBBYU=; b=PFeOby1TTSLsDk dfEAAIhYH4mqXjrmVzD5Nf+OJaftERNAIAOmc//uFGZGEFgfCh9NVMKm9aTA2YBD9IlZVNsQ+q2Mg Ycqn9fpArb8k9qimDLReL4nIo36qcESEKJbIc5+TvGB8MqxS/f+/EL/CYwEp83eSodejW9ijjTxeU rU6MSCemC3+c6vVv0T+DVeAHJAuSq8jfl4ONJAwQFRmhWbvzXsnqfZ+H46EXvrblRccXTGOVITmoL /IeTrnfntG+wySUMPu7aLtviUexH59IhwUk4tTT8Ud+fcHBjZxqaowkOEQm8GVEi/jM03XtmXv52K sdCtiyKaze6dI3sbcfzQ==; 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 1gKklE-00051y-Ro; Thu, 08 Nov 2018 13:54:16 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKklB-0004y9-Uq for linux-amlogic@lists.infradead.org; Thu, 08 Nov 2018 13:54:16 +0000 Received: by mail-wr1-x443.google.com with SMTP id z16-v6so21354191wrv.2 for ; Thu, 08 Nov 2018 05:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=biN48QhXjlPL6+PrPs5FkgLNiaQcQ3d8ZapoGQWwDGM=; b=WIwmr0TvCycOt/qTQMnImtNWfSsE8wfhPg+OZYIUHU7dF1uxIXJBU+Kjug3kbINQSR nFLTcq/bYxIUsJKbgOigtBhhcBz6X91UNLkYudIsG9F1G1OO+Fsc9i+3HGqPNBHh6wJk tVJv5abV5I1RqYUM7QhtQCZlJzRhV0REasGEM2tYE/Ds7E4UZzJcutDZKZxcP9URWNhS AyymguUpHNdED3uu/Q0yuSxdlSNqXxx8TP0qkl9xh5xdFW4lmnuQMVzUrrsHLqlBsdU9 Z1BHniOysRurxp78mfuTEtX2rvMzd/A/+aQIxzHWiclcMnHH+6xuusgHIeWXke3CnOGL mOkg== 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=biN48QhXjlPL6+PrPs5FkgLNiaQcQ3d8ZapoGQWwDGM=; b=r1y/1QDGiU+jnW0oAd7isNelAsSNRaNEM+lptfx6tGgh+XOzMErlNWhJLkT9dwP6Xp y9qIp1EBFmtly1TQCk3nMwWx7NoXoLoxsOOhuxqqR04A6tWWvT/7iMXHS2dBiQo+JunY jCMsuRkpsDWTLnfkmSsgHvqw/H1o2+icJu0k/oyHcbxgujC55r6qoVWcWHHB5QpyMeRU RPpK7aOT23GSg99zWV6W9pSwn3gSYvSzSM9TKraqPk8+54HrmPN3aPceMlvNg271rCqo Wn4j+XLD6MYgWswviyf2RjedPbS3tROGBxbeDzLxknNWowdurNreM54t1sV/ag6n06Kb IAIA== X-Gm-Message-State: AGRZ1gKen17Uwx+J3cW4RORBlgo8BPz8aW3h2sm1zlX7YAbdu7bHZtEC F65OemLujqjj3aOwB5dqMLuXhA== X-Google-Smtp-Source: AJdET5cl0XBF1MHr71F3J01006i/ZUwHebSImNSp1gw6J43kwYWHcHBE93zs6DBj/D9ONmHJkntb9w== X-Received: by 2002:adf:fb89:: with SMTP id a9-v6mr4046902wrr.219.1541685242649; Thu, 08 Nov 2018 05:54:02 -0800 (PST) Received: from boomer.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p6sm2740329wrx.39.2018.11.08.05.54.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 05:54:02 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 3/4] Documentation: bindings: Add missing Amlogic SCPI sensor bindings Date: Thu, 8 Nov 2018 14:53:51 +0100 Message-Id: <20181108135352.8459-4-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108135352.8459-1-jbrunet@baylibre.com> References: <20181108135352.8459-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_055414_000322_0576252D X-CRM114-Status: UNSURE ( 9.12 ) 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: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP amlogic,meson-gxbb-scpi-sensors is both the driver and DT but is not documented. Just add it to amlogic's scpi documentation Signed-off-by: Jerome Brunet Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/amlogic,scpi.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic,scpi.txt b/Documentation/devicetree/bindings/arm/amlogic,scpi.txt index 7b9a861e9306..5ab59da052df 100644 --- a/Documentation/devicetree/bindings/arm/amlogic,scpi.txt +++ b/Documentation/devicetree/bindings/arm/amlogic,scpi.txt @@ -17,4 +17,11 @@ Required sub-node properties: - compatible : should be "amlogic,meson-gxbb-scp-shmem" for SRAM based shared memory on Amlogic GXBB SoC. +Sensor bindings for the sensors based on SCPI Message Protocol +-------------------------------------------------------------- +SCPI provides an API to access the various sensors on the SoC. + +Required properties: +- compatible : should be "amlogic,meson-gxbb-scpi-sensors". + [0] Documentation/devicetree/bindings/arm/arm,scpi.txt From patchwork Thu Nov 8 13:53:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 10674249 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 E49E515E9 for ; Thu, 8 Nov 2018 13:55:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D24AE2DA34 for ; Thu, 8 Nov 2018 13:55:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2E902DA41; Thu, 8 Nov 2018 13:55:01 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 AA1A62DA34 for ; Thu, 8 Nov 2018 13:55:00 +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=oJMjRZr5CfMtUgb42xspCWufKslXWkRgWe/SCEzFF44=; b=AhO5ZW2ljkdAVw 54T+GFcL7bgOwIpEL7HG7cnpA6ISgnVqY7FZhvVUKMOVyoVpVksdOhKzZ+DvWv3Zl8w15rAYAnwpw GRDnrE/30hfweJWYA5TRGDuM+4tp7f6jxKLuB0vm/sog2YpvifpTiWrKUJnMFQcdJ+gz/ErxsqzE3 JuThwJlUHZWRDe7h/0NNWE0JWH6Yr++O8Z0bjrBSucySHBSx+dV6Iiq7NlF119otAP9alfx0fA/zh 1nSp4zd4NeBbHUfBXJ8o4cn3rZeJeEbvG9ez/YR2w7dj6A3h2wjHxlA2FItO8ARWcX9Qk6z5373+D rq/RIwjS0aW87zdpG9Lw==; 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 1gKkls-0005pw-7e; Thu, 08 Nov 2018 13:54:56 +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 1gKklB-0004yC-Ux for linux-amlogic@lists.infradead.org; Thu, 08 Nov 2018 13:54:17 +0000 Received: by mail-wr1-x441.google.com with SMTP id k15-v6so18361264wre.12 for ; Thu, 08 Nov 2018 05:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3Trob3Eu4mkFDnpfZtYiuy74jOX9CM+snY60wneQxcg=; b=rn8Z6gvPJwy21I71vry5wevhZl3tSLH4x64kk8GfqPKCxQ5DKjr3sqJwd0vy6yo/aq tHyfHWdWWa/iVpQfHRkYvlOUsyLhjAU5JM5W1IbXkkYyP2G8C50xXE080VefudtJ/z/y 2C6NEXgjREeNK7scfGWhQu+1QoDWXC9HGebtEM2fogK1iPyBCswcaljIymOUFc/iSBCE 25004+HuJ4SIjJKkUCf8Ywb0QmYLCIc7hY0yQue0VXHjvuKMVJzut39f+No7EbTXDltA oqa7Z5KAx2Ik3oqZWDas6OO3vQb/Jin1Fp75JrNpzb5FNW3CO/X8WRU7sFewrqtnBelp 4BdA== 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=3Trob3Eu4mkFDnpfZtYiuy74jOX9CM+snY60wneQxcg=; b=NFSAZ9bNv/723L3bsUCey/MOtEyJsM7JGvI7P701nGIUARHUl3KzYhSwUm0eY5gesh 82b43eu18H0DtefLfv67fwbFZNRBS+CWO5o5108sHB/tJPJrIjYwzep6QbiNoP6wI6xC WcN7a6rWmIAPS9FWR9pzB+ibLksmczO9hCYzqiqV5gvcfj8Sdk2I+yqS17z5mtcbCcwF gv+AFTZX0uBl6qscSYHT5XSrX+1eDsCMu6j3SXn4huIrC94T5ocSuqKLcoBPofXV6feQ nqoQsrmTFgXDiTLdsNB43jtR79RzTsJoefpzBwvCFsCzhqKdZQKbTk6ZunLE8lBsaDY2 z4lA== X-Gm-Message-State: AGRZ1gL6hoszI3Hl7EcLRx1d3g6sxjSXZxQOsxewk9zFOcFDaabWvYUi 6bKz17xaoKwmop6iHEXGYBTRjA== X-Google-Smtp-Source: AJdET5ea+Zkph+ibbRJhDUu2cq9DMyFvl8YtEenTUNYTIAxjv8LCUX0zDxqGmchM+usPZpaVq1lotQ== X-Received: by 2002:a5d:4e83:: with SMTP id e3-v6mr4523972wru.187.1541685243602; Thu, 08 Nov 2018 05:54:03 -0800 (PST) Received: from boomer.local ([90.63.244.31]) by smtp.googlemail.com with ESMTPSA id p6sm2740329wrx.39.2018.11.08.05.54.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Nov 2018 05:54:03 -0800 (PST) From: Jerome Brunet To: Kevin Hilman , Carlo Caione Subject: [PATCH 4/4] arm64: dts: meson-axg: enable SCPI Date: Thu, 8 Nov 2018 14:53:52 +0100 Message-Id: <20181108135352.8459-5-jbrunet@baylibre.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108135352.8459-1-jbrunet@baylibre.com> References: <20181108135352.8459-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181108_055414_084502_A5DDF77F X-CRM114-Status: UNSURE ( 9.41 ) 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: devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Enable SCPI on the axg platform, with cpu clock and hwmon (core temperature) support Signed-off-by: Jerome Brunet Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index b8893675e39c..5f512c91471e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -79,6 +79,7 @@ reg = <0x0 0x0>; enable-method = "psci"; next-level-cache = <&l2>; + clocks = <&scpi_dvfs 0>; }; cpu1: cpu@1 { @@ -87,6 +88,7 @@ reg = <0x0 0x1>; enable-method = "psci"; next-level-cache = <&l2>; + clocks = <&scpi_dvfs 0>; }; cpu2: cpu@2 { @@ -95,6 +97,7 @@ reg = <0x0 0x2>; enable-method = "psci"; next-level-cache = <&l2>; + clocks = <&scpi_dvfs 0>; }; cpu3: cpu@3 { @@ -103,6 +106,7 @@ reg = <0x0 0x3>; enable-method = "psci"; next-level-cache = <&l2>; + clocks = <&scpi_dvfs 0>; }; l2: l2-cache0 { @@ -137,6 +141,28 @@ }; }; + scpi { + compatible = "arm,scpi-pre-1.0"; + mboxes = <&mailbox 1 &mailbox 2>; + shmem = <&cpu_scp_lpri &cpu_scp_hpri>; + + scpi_clocks: clocks { + compatible = "arm,scpi-clocks"; + + scpi_dvfs: clock-controller { + compatible = "arm,scpi-dvfs-clocks"; + #clock-cells = <1>; + clock-indices = <0>; + clock-output-names = "vcpu"; + }; + }; + + scpi_sensors: sensors { + compatible = "amlogic,meson-gxbb-scpi-sensors"; + #thermal-sensor-cells = <1>; + }; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;