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: 191313 Delivered-To: patch@linaro.org Received: by 2002:a92:1f07:0:0:0:0:0 with SMTP id i7csp837613ile; Mon, 22 Jun 2020 01:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyb4cvPZlCNAjHXnEHdc6JPiPwEdVO97eXspHTvt/YgZjzhAoRfAIawDGxUefTzL6DB+oK6 X-Received: by 2002:a50:c013:: with SMTP id r19mr15115944edb.340.1592814878132; Mon, 22 Jun 2020 01:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592814878; cv=none; d=google.com; s=arc-20160816; b=K1AEOg1m7McpkaGheY+9w0wZKdlkzZMqqPtiRQxNpd9AO8dX9TjQHjJtcc5BbHUsi1 QjZYjt168iREI56O9DuYzgoMiVyMbAPULvPaTambV+IoxE9TWxwtx7O3ay2TAJ1yfTyw iTRyqpO86I4QxPETRwJV5mukY2yu9ie5fJGuf6LC7vTeGX8xS3LxSodEGaZcOpUfGBQ1 +2CEbEpf3uU/1Bkh2NhQgvBWjuGFQflnOcGA2dMsi8foCmoiOz4FMKxyQ7ivduKKzpn+ tWOqPz3LBn0B+XX8bmMIrS1oBCqc/Veevbgbifucpj/8znRtkpuwAW67G6Bu/NvLCocL Pg3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iumTCPIQ5JgGRCUXbn3oWrglqPPjaXK37FVM57bSflI=; b=HpPA3gwCpznflk9txtwRO13zOk5L4qkAps7r+2sfPDGxBeDjUNNPH2Rygbwh3hdOSK CRoYiLVtHK2JS1ii4LTbARSgoC0XKOjBfRCpaWyTji03BOMt2V5QQGgFGrosq7YjSCh8 3Muaprs++4GDqK0w83V3kGxeQhhWkdWasjnVswI8lDc4aEDuGsrhOUS5VZxIk9cFpetR zJYPGB8LfyF5pcXy3w7GKKemlBRyi1sV+j7VQcwN9VnSrS3e1DvQySnGarEKar2DuDQl QOkWhQW35VVva6XHkcbtDbxodOJqvzMz3WyDAcP1jfZ4nieDmJ8T8QBU1Ei6K4xtzEti lT0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v+QT9yYR; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id yd21si968402ejb.727.2020.06.22.01.34.37; Mon, 22 Jun 2020 01:34:38 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v+QT9yYR; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725852AbgFVIeh (ORCPT + 6 others); Mon, 22 Jun 2020 04:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725616AbgFVIeh (ORCPT ); Mon, 22 Jun 2020 04:34:37 -0400 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA291C061795 for ; Mon, 22 Jun 2020 01:34:36 -0700 (PDT) Received: by mail-wm1-x344.google.com with SMTP id a6so3982900wmm.0 for ; Mon, 22 Jun 2020 01:34:36 -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=rHkCETP8+kcSGuqLZqlFN/bt2bPEtNCQZFnk+VQxd+7A1pxxo5lcwtKNeiR47PX/iB F8oUDGdagrciusn0twFxMc8ehRCvcROqgaId3tefYO4yUrCEiUwcYM0Vtyg0nl1lbH32 7Wlnd9cQKicmy54XHScpbSBxrLXH0k0VNqq0CEZRkf+swxwJHT/13gL7B4jbW5Wy2zCC gy5iYJ7MrEn5jLGPyA3ZEyiMchWVTVbO1d6B/JJlsluo4kHR0J1hJBuXv1e33h7LWcRb KiwtoXLCn8lQTFXdx1Ik8uKK5Q3WEDLhO8to283YWCg/UNMb9IgAYgRscUti/6k+VVn6 89/Q== X-Gm-Message-State: AOAM531vGOAflLuH80Tt/rxWZ1HF2YQ4zzlc1dwc90pH3W3MfKLeZBPp dLqgEum8KNGLtx5i2pgucRKGPw== 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones 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 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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(-) -- 2.25.1 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";