From patchwork Fri Nov 14 16:25:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 5308401 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id ADB7F9F818 for ; Fri, 14 Nov 2014 16:28:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DEA1620149 for ; Fri, 14 Nov 2014 16:28:50 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0A5CF20138 for ; Fri, 14 Nov 2014 16:28:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XpJi6-00057B-DD; Fri, 14 Nov 2014 16:26:58 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XpJhs-00050R-Mm for linux-arm-kernel@lists.infradead.org; Fri, 14 Nov 2014 16:26:45 +0000 Received: by mail-wi0-f182.google.com with SMTP id h11so3233208wiw.3 for ; Fri, 14 Nov 2014 08:26:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=0NCj+57RjLGYT+i1KYynP2pGAIhgvXkW1e5enj8bUbg=; b=wfyl/s/bD6lal0uKAd4duXuLDVgbhD3qTPFNAzUptT3J4a0tDQ5In1GYmMUViKnZS1 SWudcvR3YrEErAMTyyqSinFl1qcRtKIw2oFNHF8v5yK7XC/zUfJJXRuHfMgBSpiP9EWi OGUOH/lGXDolCWDKxaq9DQJAVk64hu66qlvYYaxgowF1/pAeR5xRGEEIrweXbzcnd/RY ZsL87FaQbOXrXtiLed3vQS2b00x7rRIfbFQxJBTNlYOeql4Qu7LWCKXPxFI3mAXRz+bW C1xg7N8UQ3StUtLYt9r2NThSb/HGziwa7I+GquV5taC/lgwjcTZZ/LjQq5GDf6srT3Nm Tz2Q== X-Received: by 10.180.90.65 with SMTP id bu1mr8811232wib.71.1415982382792; Fri, 14 Nov 2014 08:26:22 -0800 (PST) Received: from localhost.localdomain (host38-130-dynamic.51-79-r.retail.telecomitalia.it. [79.51.130.38]) by mx.google.com with ESMTPSA id 10sm40218990wjs.21.2014.11.14.08.26.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Nov 2014 08:26:22 -0800 (PST) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@arm.linux.org.uk, maxime.ripard@free-electrons.com, b.galvani@gmail.com, jerry.cao@amlogic.com, victor.wan@amlogic.com, arnd@arndb.de, eric.hankinson@leandogsoftware.com Subject: [PATCH RESEND 1/3] ARM: Meson6: docs: document bindings Date: Fri, 14 Nov 2014 17:25:51 +0100 Message-Id: <1415982353-9293-2-git-send-email-carlo@caione.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415982353-9293-1-git-send-email-carlo@caione.org> References: <1415982353-9293-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141114_082644_889411_C090A2E2 X-CRM114-Status: GOOD ( 10.23 ) X-Spam-Score: -0.7 (/) Cc: Carlo Caione X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Documentation for the devicetree bindings introduced with the SMP support Signed-off-by: Carlo Caione --- .../bindings/arm/meson/amlogic,meson6-cpuconfig | 16 +++++++++++++ .../bindings/arm/meson/amlogic,meson6-smp | 26 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/meson/amlogic,meson6-cpuconfig create mode 100644 Documentation/devicetree/bindings/arm/meson/amlogic,meson6-smp diff --git a/Documentation/devicetree/bindings/arm/meson/amlogic,meson6-cpuconfig b/Documentation/devicetree/bindings/arm/meson/amlogic,meson6-cpuconfig new file mode 100644 index 0000000..2db4cbb --- /dev/null +++ b/Documentation/devicetree/bindings/arm/meson/amlogic,meson6-cpuconfig @@ -0,0 +1,16 @@ +Secondary CPU management unit: +------------------------------- + +This document describes the "amlogic,meson6-cpuconfig" node for enabling the +secondary CPU. + +Required node properties: +- compatible value : = "amlogic,meson6-cpuconfig"; +- reg : physical base address and the size of the registers window + +Example: + + cpuconfig@d901ff80 { + compatible = "amlogic,meson6-cpuconfig"; + reg = <0xd901ff80 0x8>; + }; diff --git a/Documentation/devicetree/bindings/arm/meson/amlogic,meson6-smp b/Documentation/devicetree/bindings/arm/meson/amlogic,meson6-smp new file mode 100644 index 0000000..4130381 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/meson/amlogic,meson6-smp @@ -0,0 +1,26 @@ +Secondary CPU enable-method "amlogic,meson6-smp" binding: +---------------------------------------------------------- + +This document describes the "amlogic,meson6-smp" method for enabling secondary +CPUs. To apply to all CPUs, a single "amlogic,meson6-smp" enable method should +be defined in the "cpus" node. + +Example: + + cpus { + #address-cells = <1>; + #size-cells = <0>; + enable-method = "amlogic,meson6-smp"; + + cpu@200 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0x200>; + }; + + cpu@201 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + reg = <0x201>; + }; + };