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: 10674239 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 EAF83109C for ; Thu, 8 Nov 2018 13:54:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D95CD2D9D7 for ; Thu, 8 Nov 2018 13:54:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA5D92DA35; Thu, 8 Nov 2018 13:54:30 +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 5EE242D9D7 for ; Thu, 8 Nov 2018 13:54:30 +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=8KLijQGYrjZ06JWqX4T1eVz2IK40aPl1rWIDKk5iyaU=; b=tkhuhFFEJcFta8 FiQjkX1e15c8KXoCgrKvvMWJQvnk75XQAecMR3AB2NGJDsLYcdjgWPEmLPwP0SoKMVmGgHQ0rXfFm VT1m7Yka5Xyek0ZQ5YFPlmLOnm1Esm/vgOFgwEHCcCeIL7twt+rj5B8qng8lROeeOzoc9chn3BCV1 u5Y9C/U4vI2CaMmBIx8JpEF7DTNrssh0EWNn1LPuZyVjMNlBxg+7Dv+VLDU3c0DWTclIfGgt4WZiu sIozmdAoqIz/Ia5znPPXdOTyIEfaY9ZJMcvwqvHBKFkbjNoy4MMpzagYdfyz+AYJxjBZRyZSliIGN wDihYY7AAaP7VYnAafFQ==; 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 1gKklG-00052R-5R; Thu, 08 Nov 2018 13:54:18 +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-0004y2-Up for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2018 13:54:16 +0000 Received: by mail-wr1-x443.google.com with SMTP id v18-v6so2036481wrt.8 for ; Thu, 08 Nov 2018 05:54:01 -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=BFEPJ85T8TPM8lHMi8MMB5wF2eVyPFyKF4sy4ETo48NEK+X+70VFOQmf7meu1K29kl Iyp9OmCj4xN2sh2fhCADTtitcS5x4eJ/8tOd93EUS/QH9+flmAOyWWyWjjgU32U+cjM8 p9ktglKS/5OzDkbhU4wf9E5X0+uZKl7Q/uxP/AknVlfIxSh0MN79XmWgQXHb2JRNwkN8 +5JHt3HHaHoVkILCzM/eOPuiHc8TzgOgDNSPY/qSG5oXQdnxGWZSkDxMmcyPPtf+C1sb kWqnmCL0673dzOj+ny5sgM/IL9Ecx8L593U9kxzonheS1RwRr5+5VCFujFjtXlDe+BBe YJQA== X-Gm-Message-State: AGRZ1gLQ70zKjMLgCpXbhV1ab4P0EaAlabnkJlpOKAQ5JQYuNK/q/osL OUPNatmraHD2XYBivxnLbmnubX2Y6+Y= 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_000088_16E85371 X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10674255 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 CAC6C15E9 for ; Thu, 8 Nov 2018 13:55:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8D262DA4F for ; Thu, 8 Nov 2018 13:55:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACF652DA5D; Thu, 8 Nov 2018 13:55:33 +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 5FFA12DA4F for ; Thu, 8 Nov 2018 13:55:33 +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=vyR9t8gfmuNyV7Gmz4cFBd9aydaLHVljrlmsLh1qxFI=; b=SLL4YjqqTB0Bvi zGdpT+7jwVJvRACSiYvGj7j46NCJ/uKOZzoFiDatSm+P3YpUKEtJB7+tvPTrX0nLExeNlcHwgaaFn C5IbMfbkQHcAk+yfRO3KtLfyOOx0UZbIQ22NgmhBUxwodHjQbz7TFUhOECRwVCBbPIzCZ90YdiNcs Clg16bUvHHlEZsazbDBiNs6W5Dls2F699rIHkwImzFr7abH06X5g47cvHAkzK5b9U5SoOcMJlOFhb G6dTaozo3bNRhJsrJV3dkPPpDYJ8DU5KZZjS20hul/gjyaCtNT75cvj9XaFZL7h+KW0WrcXXYQu8J 8wPmDd4caKqirzyPh+Ew==; 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 1gKkmQ-0007Sc-3Y; Thu, 08 Nov 2018 13:55:30 +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-0004y6-7R for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2018 13:54:19 +0000 Received: by mail-wr1-x442.google.com with SMTP id y15-v6so21331048wru.9 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=dED0lUfPA2D5PSi+fYEhre9eRE0ZnUAS6f0xVN5Gc9rnDom4dtcTlSjqOmJclJomaI MyJ26Ln/i+RldbDw6FQC9YcTjo7N1yWnS46DdE/0WLgzPew85JGcpUQCXOPgdFChgmBw 4EAJhvad7PT5i5db+4qavu4tnJqeZ3sPMokBzRqdYZlIHH+uwFn4ylCX5IbnPNwCyqq6 X54rUF/MDEfwirHfiBTYqsKguQL2wanRQ1SHtP2TYUivw5Ykmcc5StoXVbIeuM0MUyug AirX9bd9ARYgQaPufRh3MnIYghVsa1oleoEPCpi8rj/D2s69BpnIntSN96RzRc638Esz wgWw== X-Gm-Message-State: AGRZ1gJJj7qT+D0ZwYf54aWXWIZ/8ddpQ2c/Ox5WLrKpnyxZYb5UEo0u /HcjXQkduznuGDIUt9lkWtUrmA== 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_384205_92A3F611 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10674251 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 2BE9014BD for ; Thu, 8 Nov 2018 13:55:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 16D5C2DA34 for ; Thu, 8 Nov 2018 13:55:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 06FAC2DA41; Thu, 8 Nov 2018 13:55:07 +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 9D33D2DA34 for ; Thu, 8 Nov 2018 13:55:06 +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=Fa+1tGcaosyXZSsGoFaAVMD45Y41gNamQIn8hZ9aHFY=; b=mpNa/aFQbwUpYH DeknqXpKlM1y7QQyhJrFz1bG2O7DgMknM76QY0J3qBQxcBPqPStrGZTq/PMekFzcf4kPhOImMZyJj TXG1g4KK+VKnKAuKG62T1fXXIxEvz+jGcWXgc496c4YO8CXDRUrofjxlTGFacrFJLn59rTYr1/VQB +vK5wCU+wC6yWTXlE68fgw86bf7OFF3tnoJK1gWWDUNNoAIFw9N6g0VJ/1CXtB+1N3ozNXcpKNijT RRMzLCorUaDNkDTMTautZRQxvAdMTZDLoLX398hkkZkxFQxnuYoqc1ICTp/M4MJqqhKD7Kfr0m/rp 1iTD+286Flk1PiJPYwFw==; 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 1gKklz-0005tp-GJ; Thu, 08 Nov 2018 13:55:03 +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-0004yA-7N for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2018 13:54:19 +0000 Received: by mail-wr1-x442.google.com with SMTP id 74-v6so21318580wrb.13 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=PzQJemcixO6HZpo+pmGGyr7h8FkFaf/qSmUBLUTgMqZ4dE1wk/ALfkP5wQQf/IWOrq dizjcWWc9qJMWMz5iTelC3sHGppyofars9wslKvmGqmIyjxt+x1KrUdZDywCcF55P2v+ WQjHmTcCG6cKBLQ3Eqp3WbBJJ/+4hE8doPm5hKvfMumkcM49huGCNEsMVzGloCkmWozd qP1nIOu26jQKWAr/0XsNbNWJG4yVxrkvdBqwXFq55FKH3KtqsoY1juemVkNz01MEdw7I 8Zf3dACj8c4EgMjEtRY9c+CtlVKn3sCFswkLlPDYR2B8vbP66yWXWl7otewLUKrS3r9X 9wfw== X-Gm-Message-State: AGRZ1gIf88pnVJ5wUVc+xwzofGHOYC+9eHD4U5Ds/Wbjh2DD1g7Btjff SC6RAN0ayUaVEars0qtnkM5AOw== 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_381105_124A515D X-CRM114-Status: GOOD ( 10.99 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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: 10674243 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 F113214BD for ; Thu, 8 Nov 2018 13:54:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEB622D9D7 for ; Thu, 8 Nov 2018 13:54:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D32AA2DA35; Thu, 8 Nov 2018 13:54:44 +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 7FFCD2D9D7 for ; Thu, 8 Nov 2018 13:54:44 +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=s6RQTHBbvgl6R83ZAa1PlbIi1c5T/qTfABvpiTnilSU=; b=sIFmudrYQz+zKI W0dJohrPgb6agJRPCIpKn67coarxvt3nUrfNFseU3WYB95SE6PUuq+NrO/EdPwYPnbObg2RgpCmNT BnMQA9ABsDx3dsaWed1+o5tfPJZuFbtoeyLvVZKikNjrOaOr6me8V+mUbSSzWGsDU61trqkyfQ1Zi b4jOV7Feum1ZZ4oHUPGI8wCkezAijjpzsTn7lyNE4EplJSt4AVIaF/Pwt0zPR82w8QMckKlArPzzs cUN6BzuwqdbEjcE6ZDs9R5EXNcLZXbPN3VqX+cijuKX9nfqhRN+yE9K0gzSnje6PmZUZ1CSR3sLYm V13M5ZdgouJM2G/uStaA==; 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 1gKkla-0005SL-Jn; Thu, 08 Nov 2018 13:54:38 +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-0004yD-Ut for linux-arm-kernel@lists.infradead.org; Thu, 08 Nov 2018 13:54:19 +0000 Received: by mail-wr1-x443.google.com with SMTP id y3-v6so21037478wrh.10 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=jrrhL5nAFYra4GCcIKogBJD1HoquyfkWk0de60qMYrns7ljMe9bj0lUwQGTkIa5oBG Eq7DpYPuScm+c3h5HCx584wNoDiq4MsJ48lg2XJE7aViMDmy8YyHkmlBzeBqzRFg3aYe LbCpbmeLOKom2iVo1I7j2HITdnbzdO4FwSlJjBP2xR27wAgmQ5KblXRKnEOCTqgWmchv jFHg9nj7KFBzd0oUQod08fsRy8X3euBIL8+bj0vyc05rojqWpIS7xP8FQazPfWD9nzZW KMKJsYV0f7DfpnyphVxoIu/iWxwARbYbVR/3PlTKKrnfrA+/YavlBLMgCPGLsRk/+p2c niSg== X-Gm-Message-State: AGRZ1gInpoG/d04USeJ4U24QvK96xvFXFE+cT20PZLKjRsD2JxHdunkq LUYtou5a3EpekISoTjcJnBLAtQ== 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_111320_0B9C7F00 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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>;