From patchwork Fri Jan 12 09:45:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 762661 Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 4B7082BD1A; Fri, 12 Jan 2024 09:45:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="xF2OLl39" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705052743; bh=IJ0fhahSkBQixlmEf3QoSmH4xGCg8CHJlBEhtfGdLM8=; h=From:To:Cc:Subject:Date:From; b=xF2OLl39wqqJO0TA3f5smqCQhLClBMqGoWzc+IhNY9x7wNUhvQ4D2yAB9RZ1h6CAj S81nrzPjhZUf+/Biy3FyEAYk5Us59/bXA5WRAexnVZpERmXexIBGSYuWi7nJ7mrMAM MeXgOE04Twr5J6IiarBICERj8O7gC7MIUDvjz/4AMvrlpnhoRVISBGGWt74o/u0hXi 1JEDzIX5UTgngaCooH/5JiceZkb6u+WP2qnQp+of/hkbAmwFHyJGsyyXiqFD4QTrAk 1JZwdmmKJ8YitiJpMPIwFCRT7DmEX5NL0xByT5ImcFFwN36hDvPKxXI4WMjziyM2n8 Oqn29EOzVTfkg== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 70B0E3781FCF; Fri, 12 Jan 2024 09:45:42 +0000 (UTC) From: AngeloGioacchino Del Regno To: chunfeng.yun@mediatek.com Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux@roeck-us.net, heikki.krogerus@linux.intel.com, cy_huang@richtek.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH 1/2] dt-bindings: usb: mt6360-tcpc: Rename IRQ to PD-IRQB Date: Fri, 12 Jan 2024 10:45:37 +0100 Message-ID: <20240112094538.65639-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Since there is no user yet, rename the only interrupt of this device to "PD-IRQB", avoiding underscores. Signed-off-by: AngeloGioacchino Del Regno --- .../devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml b/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml index 053264e60583..0bea23ce2f09 100644 --- a/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml +++ b/Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml @@ -24,7 +24,7 @@ properties: interrupt-names: items: - - const: PD_IRQB + - const: PD-IRQB connector: type: object @@ -58,7 +58,7 @@ examples: tcpc { compatible = "mediatek,mt6360-tcpc"; interrupts-extended = <&gpio26 3 IRQ_TYPE_LEVEL_LOW>; - interrupt-names = "PD_IRQB"; + interrupt-names = "PD-IRQB"; connector { compatible = "usb-c-connector"; From patchwork Fri Jan 12 09:45:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 762454 Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 58C0042057; Fri, 12 Jan 2024 09:45:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Ie5C2kIt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705052744; bh=kBy0xyGHqh5AeAuImQCMQR9+EKgyLvr9VzSgQV6Ok8Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ie5C2kIt8oI4QqfJrr7QGgQRxd/AYoR9Ackq+/ffMp31ZqIPvOGKByOEBVFHMWTN7 YeLz1AfbfgO83r/fBBKF9iFbbYucx20hg3Skm7Ourt/zS/tbSBIwji7gKyoayRqSb4 G/M0oafeRDg+FYCIOTMdkg9O6RScQnz5h0HvOqHVih3DucDHD2L0DYWL2bDjHpmoeT TB3VAmyR4cS9MwwyOUZZ8qpctQZOtXEaAMu55nziHl2r2CrkHvshS8JBzDtK0kRStF crGnhanSItDoyIDnRHK0Sy0q3F1TbteGzROylsGXgWm45DZLgsMakNmgtGCP5RkDtC zKu5LkHdMdAEA== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 8B4683782021; Fri, 12 Jan 2024 09:45:43 +0000 (UTC) From: AngeloGioacchino Del Regno To: chunfeng.yun@mediatek.com Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux@roeck-us.net, heikki.krogerus@linux.intel.com, cy_huang@richtek.com, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: [PATCH 2/2] usb: typec: tcpci_mt6360: Rename interrupt PD_IRQB to PD-IRQB Date: Fri, 12 Jan 2024 10:45:38 +0100 Message-ID: <20240112094538.65639-2-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240112094538.65639-1-angelogioacchino.delregno@collabora.com> References: <20240112094538.65639-1-angelogioacchino.delregno@collabora.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 For the sake of avoiding underscores in devicetrees, rename PD_IRQB to PD-IRQB. Since at the moment there is no user of this driver (yet!), it is not necessary to retain backwards compatibility. Signed-off-by: AngeloGioacchino Del Regno --- drivers/usb/typec/tcpm/tcpci_mt6360.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/tcpm/tcpci_mt6360.c b/drivers/usb/typec/tcpm/tcpci_mt6360.c index 02b7fd302265..745463283323 100644 --- a/drivers/usb/typec/tcpm/tcpci_mt6360.c +++ b/drivers/usb/typec/tcpm/tcpci_mt6360.c @@ -153,7 +153,7 @@ static int mt6360_tcpc_probe(struct platform_device *pdev) return -ENODEV; } - mti->irq = platform_get_irq_byname(pdev, "PD_IRQB"); + mti->irq = platform_get_irq_byname(pdev, "PD-IRQB"); if (mti->irq < 0) return mti->irq;