From patchwork Wed Oct 2 07:35:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13819416 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20815D528 for ; Wed, 2 Oct 2024 07:35:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727854519; cv=none; b=Rc9l8CRP7YTXrC3d5ls6UJ5Xh9nswm6mvGbf9e1sLwNWIVi3R9evmHnkWiq4nR1Fl/ow6lE/OmPP9zCJM0E3ZuLL/imXjjR29CmcfKrFBPeQZOzJ3j5Oi4RIcSMGw5qhH0BPm4J5VZFXUJeiR44mMZukxnTgiUU2Pa4IYfgohJU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727854519; c=relaxed/simple; bh=4XmCYMzrw/UcF0JJNZHFVpD3YUXK2utYW4mppMk8lM4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mrucROwOCWyyh9X5kwQhcdrkHowPqhkND54SZoxN+k0vzOSX6a3oUPw3osYp8HuAsWwvPDkuFVOwl4JwjakMDsSxxOTGTBngL20KCho6ZeRnvlOPT6JNXCBzyVSjdtLD9iW776D9GJhn+EtjhCr2FnuLreYs11T68enVtyGLuLc= 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.52 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 ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:80d:3d68:c8fe:1932]) by xavier.telenet-ops.be with cmsmtp id KKbF2D00L4Qoffy01KbFow; Wed, 02 Oct 2024 09:35:16 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1svtt5-0016yh-8Y; Wed, 02 Oct 2024 09:35:15 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1svttD-003tb2-GC; Wed, 02 Oct 2024 09:35:15 +0200 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Yoshihiro Shimoda Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/2] dt-bindings: usb: renesas,usbhs: Deprecate renesas,enable-gpio Date: Wed, 2 Oct 2024 09:35:12 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Commit 2071d0968e564b4b ("Documentation: gpio: guidelines for bindings") deprecated the "gpio" suffix for GPIO consumers in favor of the "gpios" suffix. Update the Renesas HS-USB DT bindings to reflect this. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/usb/renesas,usbhs.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml index c63db3ebd07bd493..b23ef29bf7949ff9 100644 --- a/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml +++ b/Documentation/devicetree/bindings/usb/renesas,usbhs.yaml @@ -76,6 +76,10 @@ properties: Integer to use BUSWAIT register. renesas,enable-gpio: + deprecated: true + maxItems: 1 + + renesas,enable-gpios: maxItems: 1 description: | gpio specifier to check GPIO determining if USB function should be From patchwork Wed Oct 2 07:35:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13819417 Received: from albert.telenet-ops.be (albert.telenet-ops.be [195.130.137.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A5F72194125 for ; Wed, 2 Oct 2024 07:35:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.90 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727854525; cv=none; b=u8w2hhzwMSUuKyuk5MWMaNNFhlipujrnzuu9LadlyZrj9aNlL9vzHvcytI+vJeyt8gu9GN2kH13XES6I681i4AZrSikpCZk8vxsv175+UsU+f+tbxvIZHO0n5dmYA7i1gHbhGam/1POb8Dh5Tni3EubJitULJGZemDJvYZtq4E0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727854525; c=relaxed/simple; bh=inFAjHiIyLx2Dla34EfsjrRtnjkXOfui2Awff155w58=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ST/31t+plQhM8+QjuVyvynqBt+PIs5EO4HWAUeH4RRnp1r5oibide2w7PM+tepbJ6DFNNWlYSVqL39RnW1OgNaSb6oDroRcIovcYBKBC5jSRj5QNCrCUA9aZW2gIVbmbXoMq8c9fe2zgsv6CvH6RYU5lXHPN8kZOc7pYICTUfHQ= 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.137.90 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 ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:80d:3d68:c8fe:1932]) by albert.telenet-ops.be with cmsmtp id KKbF2D00X4Qoffy06KbFzU; Wed, 02 Oct 2024 09:35:16 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1svtt5-0016yj-9G; Wed, 02 Oct 2024 09:35:15 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1svttD-003tb6-Hp; Wed, 02 Oct 2024 09:35:15 +0200 From: Geert Uytterhoeven To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Magnus Damm , Yoshihiro Shimoda Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/2] ARM: dts: renesas: rcar-gen2: Switch HS-USB to renesas,enable-gpios Date: Wed, 2 Oct 2024 09:35:13 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Commit 2071d0968e564b4b ("Documentation: gpio: guidelines for bindings") deprecated the "gpio" suffix for GPIO consumers in favor of the "gpios" suffix. Hence replace the "renesas,enable-gpio" property by "renesas,enable-gpios" in HS-USB device nodes. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/renesas/r8a7790-lager.dts | 2 +- arch/arm/boot/dts/renesas/r8a7791-koelsch.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/renesas/r8a7790-lager.dts b/arch/arm/boot/dts/renesas/r8a7790-lager.dts index 8590981245a62057..826a29064d27f663 100644 --- a/arch/arm/boot/dts/renesas/r8a7790-lager.dts +++ b/arch/arm/boot/dts/renesas/r8a7790-lager.dts @@ -890,7 +890,7 @@ &hsusb { status = "okay"; pinctrl-0 = <&hsusb_pins>; pinctrl-names = "default"; - renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>; + renesas,enable-gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; }; &usbphy { diff --git a/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts b/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts index 0efd9f98c75aced0..0a8eac57135f2e81 100644 --- a/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts +++ b/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts @@ -859,7 +859,7 @@ &hsusb { status = "okay"; pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; - renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; + renesas,enable-gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; }; &usbphy {