From patchwork Tue Nov 28 21:35:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 13471867 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA9DFC4167B for ; Tue, 28 Nov 2023 21:36:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=dhVrQYDXCR8RuWD8hR2nXIW7J2YmTga8c+N3FDMKjF0=; b=4mO9h+zDQvMar0 s4OqKhKMmrszIBOZskbx8AZ777WT4zrCIkW4Ca/wpyPkOzzaaNDv0XD0XkNMs28Nr3LmtN97yiUAt l45qzbytKMsqGgWGQjulUDr3mG7r4IjFCoTUJG4ZJIUuSqrcVVdia2a3Jvf5iWd/okouAgeKGtosu v/jhGAmAtpNRKAIRHQ1ndlBRrQ2fhRfGLOvds3YLg/tTKC/mUWN9TpRmCcLp1cZBdff1GGbwkA6yX inFUQ76eS7dH/LAIJEiwatuNpI/7v+F4QT4JVWPtx5Jt4MgQcWZMVBBbxYbEcA4SxeRiLxgsjn8la 8luyIZI9EnD8GhG1Mohg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r85kI-006PcD-07; Tue, 28 Nov 2023 21:35:54 +0000 Received: from madras.collabora.co.uk ([2a00:1098:0:82:1000:25:2eeb:e5ab]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r85k8-006PZp-0j for linux-arm-kernel@lists.infradead.org; Tue, 28 Nov 2023 21:35:45 +0000 Received: from beast.luon.net (cola.collaboradmins.com [IPv6:2a01:4f8:1c1c:5717::1]) (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: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id BF98766022D3; Tue, 28 Nov 2023 21:35:38 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1701207338; bh=sv/2D1zMBLJgchnhIhV6rK/+bWi0GcCcH0kKNpe62Ws=; h=From:To:Cc:Subject:Date:From; b=cbk9zdgl0apMId4gfLfr4H/GO4fNNOOaJLurMJ40z0HDkC0g97Zu1F4q/cGGhqQZ3 IvQ9EFdhtt6eicA1jz8CY3Gu+ch5HR/Tf67mF5DxZ2fWJR08TZ3bSItPyCjWiQL0nZ IyEnNLxwQrQ0qwT5QO2pPEQQGYyAtaeNqmcqY5DBX5Nff9RZ/AMlCfO5XXp3Smvm8q hR1tuT/wX7PFnkJRm3gvyVHiu9j/geX+Ouyx6UC3VxJrupIiNehsRHnFZrY72O3/Oh KMSAqJ0UyFEYxYvd8+rghc1aDnxKEGf/FRvc59IDPI4HBJ95dDuBju946ODg7ymIIO kdwxp4X+t1XJA== Received: by beast.luon.net (Postfix, from userid 1000) id E9D929676CF8; Tue, 28 Nov 2023 22:35:36 +0100 (CET) From: Sjoerd Simons To: =?utf-8?q?Marek_Beh=C3=BAn?= Cc: =?utf-8?q?Pali_Roh=C3=A1r?= , kernel@collabora.com, Andrew Lunn , Conor Dooley , Gregory Clement , Krzysztof Kozlowski , Rob Herring , Sebastian Hesselbarth , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] Moxtet bus fixes Date: Tue, 28 Nov 2023 22:35:03 +0100 Message-ID: <20231128213536.3764212-1-sjoerd@collabora.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231128_133544_412922_3262B869 X-CRM114-Status: GOOD ( 13.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org It seems the moxtet bus support was broken since 21aad8ba615e ("arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC") for two reasons: * The moxtet irq isn't marked as shared so the driver fails to load if the rtc driver gets set up first. * The dts change didn't set the IRQ type, so in case the rtc driver got probed first irq setup ended up wrong (rising instead of falling edge). On top of that the moxtet module isn't auto-loading due to a missing spi table Changes in v2: - Add cover letter - Add patch to set the irq type Sjoerd Simons (3): bus: moxtet: Mark the irq as shared bus: moxtet: Add spi device table arm64: dts: armada-3720-turris-mox: set irq type for RTC arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts | 2 +- drivers/bus/moxtet.c | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-)