From patchwork Mon Feb 12 21:06:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 200037 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp169505dyb; Mon, 12 Feb 2024 13:10:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUGBQmFtO7glPmql3rWsL/xepJ0iyArYbYGSeCpDk45L26/Etqc9V0VaMftm0sx49Ht0GjpBq2Pj4R+2gcLdonIRXVlSw== X-Google-Smtp-Source: AGHT+IHBq/ZxrLCTbdOLUc55kwHwZZeoLWqIpGk1FOX7cMXWhtHiwxQnGOA82+wDEYrH0DI/bUjE X-Received: by 2002:a17:90a:ec0a:b0:297:4f1:8a19 with SMTP id l10-20020a17090aec0a00b0029704f18a19mr4662114pjy.23.1707772200672; Mon, 12 Feb 2024 13:10:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707772200; cv=pass; d=google.com; s=arc-20160816; b=W1xSLVqP0tc5eXvt86sYt3+Ra++m8VZiflzpwM3njuEjurKVgXf36bWA2zIlr6nMyw t2COXzgT+OKuCSAR/T+RIM6YbIPPCGzyYixWHWaauGLhn2Mkl6vk/DA9CfRZ6f5DIYhh o6JpNz7IK8Al/NQQNVne5hUOOyUWbA+zxF51lOU6zVYbzWQC1ebAdzEgct2nhqAsC10B c7Fr8zk+arDHqjqN71IhJghry1WnQLuAasRiyuSS/KvKzg+0aHGqWTAzFzvISmbfaLBM Jgki9JopMHVJPhWnXlHOaFLjiVIXpJRvSkKZnV9lJQCR5Blpa0PTY8Yrs8Yg/poSfP/H YGuw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=V8k7HsjLVdC5dVClU59bqF//G0H7vnUQNgyHsuJOwVQ=; fh=+jZvf6qBkFJV9UUIFDbYHJVChswEUoADEbHF4uM3Gv8=; b=qxjxekumO+Zk5LHtGj9j9J35KQ12xLZzRArGZH/ZUvVZHlm5D/5KjFTDodWTHRL6aS doTUP7CpjpOArl1sGH5lO+lo5tCDauAGNRuJIVtMSECAUhAOXVxNrdKnTizNEbkhcO2D XfTC4/mSAvI4KpGzYjkeskN/cOw/lygVQiNVj26UIVXDLsaiUtvhyrwoYf3lW8dJ4e6R h19gHOlZjaYDByEzJZ4U00NinkvO9Q9RqGGIPJjZ1yhcnFioC0DHCz0a0HkL3ySC/yla Lr+dn2XolZiXS8ltyLrgYC0joNMZw5BYHbwVG85uLjcYY2L8ZOeRlTl29v7zs+tGTJqM Cqxg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-62367-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62367-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com X-Forwarded-Encrypted: i=2; AJvYcCU0o4E1HMa/CGlHjWJZDEQuG2Z+njzJr/jc2wBlA6gRXAZBlnZk1vLxqOXH/rt2EfFCp6mwhxYz6Hrgz1/BD8M0R3x7dw== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b2-20020a17090a6e0200b00290b1bfb082si812375pjk.130.2024.02.12.13.10.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 13:10:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62367-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=renesas.com dmarc=pass fromdomain=renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-62367-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62367-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 5DC50B21EEB for ; Mon, 12 Feb 2024 21:08:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 205E54DA02; Mon, 12 Feb 2024 21:07:23 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6BC384D9E8; Mon, 12 Feb 2024 21:07:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707772041; cv=none; b=R4vtUlc0txeBsx2iH7wbw2k4Rhx50O8bcOASV4D30JHY9bkI7maIjDQvifAFsYm2leSbQ/lvlUqc8E0cjX/eODG1/jQZ1PqZqweRjXivIt5ImP6anfwyzrJj2Hzb2NeYFAZWrwri7h16rOVWj5WA4SFdQAZddypwYSA5xncyENs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707772041; c=relaxed/simple; bh=6uO8+5f0HuUGMhLDr4KYd9xN8pPGpxbc7PKeC1VVNfo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=CVKSq44OUglfHevKrkRGVNnT9oyq6R49gnWGYv00KWxXp+C3NpG4K3Ay/7ehUUzYn5EN5yLPyfmcFvGPmxfC7AGN6xfpA0DfuJ845pWamH38skvxPTT2Jho15BN57DUDocmqaTt3Gcy0ggSepksDvkSEfSnEGXI/W/JIRTHszzc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com; spf=pass smtp.mailfrom=renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=renesas.com X-IronPort-AV: E=Sophos;i="6.06,155,1705330800"; d="scan'208";a="193681651" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 13 Feb 2024 06:07:18 +0900 Received: from mulinux.home (unknown [10.226.93.37]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 439214006DEF; Tue, 13 Feb 2024 06:07:14 +0900 (JST) From: Fabrizio Castro To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven Cc: Biju Das , Magnus Damm , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Fabrizio Castro Subject: [PATCH v7 4/4] arm64: dts: renesas: rzv2m evk: Enable pwm Date: Mon, 12 Feb 2024 21:06:52 +0000 Message-Id: <20240212210652.368680-5-fabrizio.castro.jz@renesas.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240212210652.368680-1-fabrizio.castro.jz@renesas.com> References: <20240212210652.368680-1-fabrizio.castro.jz@renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790728943283666988 X-GMAIL-MSGID: 1790728943283666988 From: Biju Das Enable pwm{8..14} on RZ/V2M EVK. Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven --- v6->v7: * No change. v5->v6: * No change. v4->v5: * No change v3->v4: * No change v2->v3: * Added Rb tag from Geert. v1->v2: * No change .../boot/dts/renesas/r9a09g011-v2mevk2.dts | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts b/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts index 39fe3f94991e..6e636ac2d190 100644 --- a/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts +++ b/arch/arm64/boot/dts/renesas/r9a09g011-v2mevk2.dts @@ -196,6 +196,34 @@ i2c2_pins: i2c2 { ; /* SCL */ }; + pwm8_pins: pwm8 { + pinmux = ; /* PM8 */ + }; + + pwm9_pins: pwm9 { + pinmux = ; /* PM9 */ + }; + + pwm10_pins: pwm10 { + pinmux = ; /* PM10 */ + }; + + pwm11_pins: pwm11 { + pinmux = ; /* PM11 */ + }; + + pwm12_pins: pwm12 { + pinmux = ; /* PM12 */ + }; + + pwm13_pins: pwm13 { + pinmux = ; /* PM13 */ + }; + + pwm14_pins: pwm14 { + pinmux = ; /* PM14 */ + }; + sdhi0_pins: sd0 { data { pinmux = , /* SD0DAT0 */ @@ -251,6 +279,48 @@ &pwc { status = "okay"; }; +&pwm8 { + pinctrl-0 = <&pwm8_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm9 { + pinctrl-0 = <&pwm9_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm10 { + pinctrl-0 = <&pwm10_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm11 { + pinctrl-0 = <&pwm11_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm12 { + pinctrl-0 = <&pwm12_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm13 { + pinctrl-0 = <&pwm13_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&pwm14 { + pinctrl-0 = <&pwm14_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &sdhi0 { pinctrl-0 = <&sdhi0_pins>; pinctrl-1 = <&sdhi0_pins_uhs>;