From patchwork Mon Sep 24 09:45:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10612253 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 3E2596CB for ; Mon, 24 Sep 2018 11:26:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28EF129E30 for ; Mon, 24 Sep 2018 11:26:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1700B29E34; Mon, 24 Sep 2018 11:26:55 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE 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 B967329E30 for ; Mon, 24 Sep 2018 11:26:54 +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: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:In-Reply-To:References: List-Owner; bh=VOZtQyUC0vWwWALqPqPYu4aKwa9mv8Fju175LJ1UU/0=; b=BCKGvd/NJsvBd8 shsvbVxt2lFGrJhyo1lBOGBPILtRk2rTxTDz4v/dkFJ0w0aWyTQCjBwSPZa+61nyczs8rFRpstOrT cNhFRvOYENRNKqQIPu+5uYb715dadinv4+dm0HJQ5keyQBjwTdYr6SY0N3dEhNQf0DA3EFsr3f7m5 f3xmU6RVlTzJSqgSULMN3HI/e/b76O5U2NF47fO4JlgnS6YyZZT4gc5v2Xib8b2jlM/m9PlC4QNYL RQGJFIStmDRw2YHDGAS5w/f++XU5ajHLVBtUQdel2KIkDT1xBUR7xz/KnBvNb8CdlJoheGy6fTmq7 NVk//g44O2REmF2pDGBQ==; 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 1g4P0s-0004Ji-RP; Mon, 24 Sep 2018 11:26:50 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g4P0M-000465-2a; Mon, 24 Sep 2018 11:26:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XU1hBmqnEJUNh8EPDlttlEQWgnQ5PowEq69yX+g72gQ=; b=qfjdYK6x9B8TMWsTQEnZR+3sgE 1UxDzv+KAsRdH5z6awBw3JkmxAOYRHiLFfHcQi4+4lXqqmydB0/qpg8ZSnBDcAehKRqnaiRHBoauQ 7ffhczCBuuutmM1g2nhyFhI8D3OS9l7iUaTogIJspfeVq/QjWzWnPzckQOOn09ksFo0h2A9XCgpxs 3b+qwxSYllbgUrqA6v3aX1EVBrXKj3B2YtASPz0tru2cQ/qKm4+p4ETqVV21YgOsOdAKiZqpMgo80 JnaSXYmbXRNkbCMW9aibRZUboNUN4IIWb6BBPMjtuBQbct58429uqpW5kGzzC6Db8BZzwmiBtfEb5 u6N28M8g==; Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g4NQy-0000jv-5z; Mon, 24 Sep 2018 09:45:40 +0000 Received: by mail-wr1-x441.google.com with SMTP id t15so11060589wrx.1; Mon, 24 Sep 2018 02:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XU1hBmqnEJUNh8EPDlttlEQWgnQ5PowEq69yX+g72gQ=; b=aX8ZSGnZjrsdt2f6FQA2ad4fNzTTrSroGpu6V1uOKBsOfeOnWvG+164xgC71RLEAdg VtWdrR94Yl+jRpQOrWoyMf4kIOFodi9EWBq7pnQvIj80MeEAnFDhehDBzZMay/ZKwJHR w3sxsjsUFsU0jqKpov3LEOw2FE974DCZybdrrt6YTrwQTTFm1+8nBPq+SLB1UyEOrX0X 5BoJ+tLuAnuSG2nCNKX7xmcmmUm6sE9tzF8MT+X7zeLCCRYTO8W6cyNtWA9znuITw6kM p6woimkJ6jP3W5vo9A2xccgn8mOUWTku0KNjylU6GYzqiRtKIoLcsHNyH+pq5bz4DF6a +JPg== 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:mime-version :content-transfer-encoding; bh=XU1hBmqnEJUNh8EPDlttlEQWgnQ5PowEq69yX+g72gQ=; b=ROBWGKUceySukGCH16tHSHaEY8jrjze+my/UesEKz8TZKu68uHW0UlgKmmkNRLcXPk 7bGeBE1UsZ5TkZI56mcrzRZe3iV/0D+Zn7XJftmwmBzKz77MUm5TVUxRA8zqOKPRQ+sq 3b58Q/hAZ+gtYrVHPg0xEg2L5e4Fgdz0K+qeCj7uDL89jPIpcusP1sJxEg6+N4dnY4/O aGfQllDx5BlCHl1R+9nBOSGpWyoYR/Ct1ac7U6PdkxddTVG3XTyGhD6nMNQ5h1jhk/XE nQlacnu8M1rIzL+7p119VT5rjEwBkAxzokr0YJAu8rl7nP/j63azO3OxWbq/2cU8OkdI nWug== X-Gm-Message-State: ABuFfoj1mKNmsjetQ/yUoqTQscLopP7MzBdh/U/Hl74ueBc/nR8D4f35 FwydcesJQqFh4+U7ybEX5Ak= X-Google-Smtp-Source: ACcGV63fSzBsFEyMzWcvkjZ/vBgwjdWjo/YPIS6O45xGv72rAmZkocuQZphKXiDIq9wLdoB25bz3Lw== X-Received: by 2002:adf:8b50:: with SMTP id v16-v6mr8008441wra.282.1537782325200; Mon, 24 Sep 2018 02:45:25 -0700 (PDT) Received: from localhost (pD9E515A3.dip0.t-ipconnect.de. [217.229.21.163]) by smtp.gmail.com with ESMTPSA id x23-v6sm9512753wmh.26.2018.09.24.02.45.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 24 Sep 2018 02:45:24 -0700 (PDT) From: Thierry Reding To: Carlo Caione , Kevin Hilman , Rob Herring Subject: [PATCH] arm64: amlogic: Rename spi pinmux group Date: Mon, 24 Sep 2018 11:45:23 +0200 Message-Id: <20180924094523.20573-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180924_054540_267742_B68067B7 X-CRM114-Status: GOOD ( 11.81 ) 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: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding The name "spi" is reserved for nodes representing an SPI controller. Rename the "spi" pinmux group to "spi-miso" to avoid the issue and for consistency with other pinmux groups. Signed-off-by: Thierry Reding --- Rob, do you think perhaps DTC is being a little too strict here? Seems to me like the check could be limited to nodes that have a name and a unit address, the assumption being that an SPI controller would always have some sort of register space that requires a reg property and therefore also a unit address. Thierry arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 98cbba6809ca..3cd4475ca027 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -390,7 +390,7 @@ }; }; - spi_pins: spi { + spi_pins: spi-miso { mux { groups = "spi_miso", "spi_mosi", diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi index c87a80e9bcc6..911fd3412788 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxl.dtsi @@ -337,7 +337,7 @@ }; }; - spi_pins: spi { + spi_pins: spi-miso { mux { groups = "spi_miso", "spi_mosi",