From patchwork Fri Jan 26 10:43:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13532416 Received: from gauss.telenet-ops.be (gauss.telenet-ops.be [195.130.132.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B6B5C12E72 for ; Fri, 26 Jan 2024 10:56:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706266616; cv=none; b=uDZ38P0azUwg4ohouFj2esUw3HQg8XQoXA61sthPkN8pZWdQde6GgCmilSMxsqMW4MfrbMBE9Ixw5TJsNx9Buf5hxRi35Rb6kkgJ4Lm+rZpu8jzrDGrJPRgeKY6iD43ExbCPreg5Vl/2VlL0rv8TUqx/yPfwM6+1DSb5Tk7G6hg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706266616; c=relaxed/simple; bh=lRt42MNJjD/g5ZyL5oWsuIV1Re3nDffjLc0RdDdLCIs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=qwdSDJQbjLCtQMUF18hXV6D8ycDkDZFK2dGSvCxidNEeLd+yvyZBs3tFxt6CL9icTVVicKj4YWbeyklvZgGiMxA24/IAaatLa0weGJfQTd1tIwuMUV+A6BeAC5n/r8404OmdBsj06h6HDQD/k4ZdPSmXH0mdYDum6TgOTBPKiPc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4TLvlN5V8sz4x663 for ; Fri, 26 Jan 2024 11:56:48 +0100 (CET) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:8d64:ae04:ce87:de06]) by michel.telenet-ops.be with bizsmtp id fNwo2B00B1AdMdB06NwoJS; Fri, 26 Jan 2024 11:56:48 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rTJsM-00GWkf-6w; Fri, 26 Jan 2024 11:56:48 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rTJgz-00G5Sk-WB; Fri, 26 Jan 2024 11:44:14 +0100 From: Geert Uytterhoeven To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm Cc: linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 00/14] pinctrl: renesas: Add support for R-Car V4M Date: Fri, 26 Jan 2024 11:43:58 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi all, This patch series adds pin control support for the R-Car V4M (R8A779H0) SoC. Some, but not all, of this has been tested on the Gray Hawk Single development board. There are also a few unresolved questions: - According to the documentation, using I2C requires setting SEL_S{CL,DA}[0-3]_1 instead of SEL_S{CL,DA}[0-3]_0 in the MOD_SEL register. However, I2C works regardless of this setting, just like on R-Car V4H (see commit 42cbd16e7c547499 ("pinctrl: renesas: r8a779g0: Fixup MODSEL8")), - Using i2c-gpio instead of i2c-rcar for I2C0 does not work, even when using a similar scheme like on R-Car S4 and V3U (see e.g. commit 8bdd369dba7ff2f8 ("pinctrl: renesas: r8a779f0: Fix GPIO function on I2C-capable pins"). For testing, I have updated [1] accordingly. Thanks for your comments! [1] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/v4m-gray-hawk-single-v2 Cong Dang (13): pinctrl: renesas: Initial R8A779H0 (R-Car V4M) PFC support pinctrl: renesas: r8a779h0: Add Ethernet AVB pins, groups, functions pinctrl: renesas: r8a779h0: Add SD/MMC pins, groups, functions pinctrl: renesas: r8a779h0: Add QSPI pins, groups, functions pinctrl: renesas: r8a779h0: Add SCIF pins, groups, functions pinctrl: renesas: r8a779h0: Add SCIF_CLK pins, groups, functions pinctrl: renesas: r8a779h0: Add HSCIF pins, groups, functions pinctrl: renesas: r8a779h0: Add I2C pins, groups, functions pinctrl: renesas: r8a779h0: Add MSIOF pins, groups, functions pinctrl: renesas: r8a779h0: Add PWM/TPU pins, groups, functions pinctrl: renesas: r8a779h0: Add CANFD pins, groups, functions pinctrl: renesas: r8a779h0: Add PCIe pins, groups, functions pinctrl: renesas: r8a779h0: Add Audio pins, groups, functions Geert Uytterhoeven (1): dt-bindings: pinctrl: renesas,pfc: Document R-Car V4M support .../bindings/pinctrl/renesas,pfc.yaml | 1 + drivers/pinctrl/renesas/Kconfig | 5 + drivers/pinctrl/renesas/Makefile | 1 + drivers/pinctrl/renesas/core.c | 6 + drivers/pinctrl/renesas/pfc-r8a779h0.c | 3967 +++++++++++++++++ drivers/pinctrl/renesas/sh_pfc.h | 1 + 6 files changed, 3981 insertions(+) create mode 100644 drivers/pinctrl/renesas/pfc-r8a779h0.c