From patchwork Mon Jun 22 08:34:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11617739 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5B42F6C1 for ; Mon, 22 Jun 2020 13:33:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 338F0206D7 for ; Mon, 22 Jun 2020 13:33:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ph383cB9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="WL5ctThR"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="v+QT9yYR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 338F0206D7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=ctsSczXeolEOqaqUWyd4mOjFD8D+tSirKaR2cSWbD+o=; b=Ph383cB9CPtwWJsFPKuT5sIfJy GRqOxJL96DvLIIV9SXiHk2MGQRZl/ibT9VTzezNWK9r128EtHg3xTpEcajI4KLXxdIWlLUns/cfaq j96+WmYeED7gJ3tAKLHJRlQZnTh8APTSmRdERxwG2XDGrk0SJqE73k52ZZp/bnx4k1e9H3BP5z8CY +fnZJ1zwYcuGgSyZ+vH/3ec3raIyXYMugd9mvhPVtG8fi9CMfQy7TGGSJyoxjjot/IaWE/1oAEPdd ndAGYTzjaCkblg1S6hIcZTX6g1c5FyitqqFhXI2zXR5mRh3CM0JtWBMjjbfH3pL4FMNeu8bD2kn0u V2+3mWSQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnMWf-0002Bg-BN; Mon, 22 Jun 2020 13:30:17 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnLws-0004ds-4u for linux-arm-kernel@merlin.infradead.org; Mon, 22 Jun 2020 12:53:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=iumTCPIQ5JgGRCUXbn3oWrglqPPjaXK37FVM57bSflI=; b=WL5ctThRf2XyuM18ybm1eyVYbM ra7qebw7RRsApZjOIbnK0UrBjKvVXBHU9YYzYZKcPSB/Iw2eXq7E6MPJVEo7INPm0JvJsvkuNFDfK Bn2hGl/eLoCRZPeVf+RKY+wgWm7v/ovvYRHdSN/37ur0wMJU8kDvw5yNtwxUAjW844plY/YPrY+Pd aDws2MdwxVYbcj7b1jizPBiE3pS8/rL2OcEv5lep/Twq3iyBo7FYxuy930Rj8oyQctZAuEMtIXG5R wzN/YMgBVVUDsronGIdLeIBodioNIN1IfMMn29sTsBh8IhltfZi4GkaHS9gNv4lJY3ZvSPn6QByR6 eebo3ohQ==; Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnHvU-0001TX-E9 for linux-arm-kernel@lists.infradead.org; Mon, 22 Jun 2020 08:37:39 +0000 Received: by mail-wm1-x341.google.com with SMTP id g75so5909514wme.5 for ; Mon, 22 Jun 2020 01:35:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iumTCPIQ5JgGRCUXbn3oWrglqPPjaXK37FVM57bSflI=; b=v+QT9yYRCkBvviTFtqwMM6R1p8xJCXCmU5EzRl2/Msz9xNSQiynSP58ZJxKiHqdLBl jy01IszLE6KSujR5GrL121LclHi8zO/zEVfqMJ3dimS8VV0ImQUrb4VlTL26KGyGoYHp SM3xUp0XJft9toVfWgGSrhZ83Kw1rGyFkY5DrWdEj/rEXGOeiJr/kdQb3bB79X8+jqCO 0lR/imQOAg8a75RJrLck4HJ5aumvhzFaxouUV/VKBjYBjUj7c0nPg6o2TI7jRQmXNpeI BKXcPcUqfhcby73EdiXz1pX1DXxPU0qrYY1c9uyxMpnj3LU8lqZgl+Aj3DIHJUKti5nX SKmg== 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=iumTCPIQ5JgGRCUXbn3oWrglqPPjaXK37FVM57bSflI=; b=sFVwh121QBTpVROxDtxR3/u52IKnQQyDK5ukkWsODIMkIe4qwZFE1k3iEeaNDf4VVB WITW8JXd6Rds1oE17SRaOzpNrT+qvzFN3Hm4RpMaBVNh4sc0FCfDrn2+UXVRAZx7Nzc5 wwnHp2mYACJ8Cj9ZPcsoCEoCzSt70Rimoo/s/hcpxcK+YkMdR0wmoGDhyDxaK2gTNRZU jpAS5vZk9HRQdwpzid/4HNXkrPuvcnW4TybZ0ydsbu7xbRxvZstklMKaLI/ZKZ/10a42 +6GqMBP/wohYjMZErP6yLHe+U0qFX3kbqywZnLWhLQ372MTpsDSEgNj+K0gwaqqiU00H CrNw== X-Gm-Message-State: AOAM5311EAHhkQdbtotmZemlWyLqfBoGyOF4aKlmq7TahTvapixILsrC Cz1cmitO3aA9TOR2gguq0kDrng== X-Google-Smtp-Source: ABdhPJy8EF0FGsP5udLRcNjPlqG9OY1hIfHKLNuaRTjiy8Jh4ufHvnQFqnkLAt+MaeylObvSEY79jw== X-Received: by 2002:a1c:f714:: with SMTP id v20mr16932709wmh.81.1592814875416; Mon, 22 Jun 2020 01:34:35 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id w17sm17477224wra.42.2020.06.22.01.34.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 01:34:34 -0700 (PDT) From: Lee Jones To: robh+dt@kernel.org, devicetree@vger.kernel.org, linus.walleij@linaro.org Subject: [PATCH 1/1] ARM: dts: ux500: Supply nodes for the other 2 AB8500 PWM devices Date: Mon, 22 Jun 2020 09:34:32 +0100 Message-Id: <20200622083432.1491715-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200622_093736_830724_E0E3F3D2 X-CRM114-Status: GOOD ( 12.13 ) X-Spam-Score: -2.1 (--) X-Spam-Report: SpamAssassin version 3.4.4 on casper.infradead.org summary: Content analysis details: (-2.1 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org As per 'struct mfd_cell ab8500_devs[]' there are not 1, but 3 PWM devices on the AB8500. Until now, each of them have referenced the same Device Tree node. This change ensures each device has their own. Due to recent `dtc` checks [0], nodes cannot share the same node name, so we are forced to rename the affected nodes by appending their associated numeric 'bank ID'. [0] ste-ab8500.dtsi:210.16-214.7: ERROR (duplicate_node_names): /soc/prcmu@80157000/ab8500/ab8500-pwm: Duplicate node name Signed-off-by: Lee Jones --- arch/arm/boot/dts/ste-ab8500.dtsi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ste-ab8500.dtsi b/arch/arm/boot/dts/ste-ab8500.dtsi index 3cd6ee6d50e0e..aab5719cc1a93 100644 --- a/arch/arm/boot/dts/ste-ab8500.dtsi +++ b/arch/arm/boot/dts/ste-ab8500.dtsi @@ -201,7 +201,19 @@ ab8500-sysctrl { compatible = "stericsson,ab8500-sysctrl"; }; - ab8500-pwm { + ab8500-pwm-1 { + compatible = "stericsson,ab8500-pwm"; + clocks = <&ab8500_clock AB8500_SYSCLK_INT>; + clock-names = "intclk"; + }; + + ab8500-pwm-2 { + compatible = "stericsson,ab8500-pwm"; + clocks = <&ab8500_clock AB8500_SYSCLK_INT>; + clock-names = "intclk"; + }; + + ab8500-pwm-3 { compatible = "stericsson,ab8500-pwm"; clocks = <&ab8500_clock AB8500_SYSCLK_INT>; clock-names = "intclk";