Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4160058rdh; Tue, 28 Nov 2023 13:36:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuIynynhWKjb496RjZeKqp1MN68hdI8d1OzhVV1RwyxqjwI7gsHonHZfHeGKmm+c3xsW+c X-Received: by 2002:a05:6a21:99a7:b0:18b:208b:7043 with SMTP id ve39-20020a056a2199a700b0018b208b7043mr23630860pzb.49.1701207374019; Tue, 28 Nov 2023 13:36:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701207374; cv=none; d=google.com; s=arc-20160816; b=RdsA+OicGEsbE0yX/dhHUNY97i6WEgjs/hWBuGUSCQ+qd82LEzLWUhOoeIg7Vhrc/S qOfTknyN6txPuDMbZ+MW/mLA2dOqRgw9zrIK0a/exyLdi4yCDbswGUFkO7oG1g0xfXAw YsUzoS2B1UqvJ/bYTRTtXnFThAVGhCXGwkaMP+Z9Kw6za5wUYhmk4wMEm7DfK55hGFzl /ma9v7E7wbaWceF5YNZH4ZD1z13TiIVYL13NXQq9QbkjPA8MVGsDf2pb2uSIYVXUBB1i FY9mp1AY4QdyZ1U+vCEkVF0n1kPbqCA42iP/ZDR6in1wGy/zf5jVLQG+i21Oy1S7+z3B Eizg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0EFKevNUXzPGPLOe1oosSTTK4lSFJBsGNxnfjcDgtbw=; fh=k0pT4rLgurR2o8BI54OjBFD8wAUcwjRE5l308tZQfR0=; b=pQRRaAt/5Dr55yGTVRUjcaGNXrAmqFSGA2gHgn+zUYP3YVg/EVZ9EusI0NNqWyeIKC mIK9Gk6Ws3fvje7PqxtqClMT8tNj/UI+uC7qNIXzECD/o1awPo6AfO3Cfx7zo4T0cLFs 3MnvLa3lmE9UDIQFKSTzVbkV68zJRYJO9x7RPVnYsQ3iIij//8ix7C8GIdDaqPYuP9ur nFZsCHHJlVp7hd03KvcI1XWPgWfpuooWmxsBBs50x2j2ypKyqJeAHuLj7UpI4b2qmHHk a+VUFLOj+ZtlOcWcg+TInYvUc03P83TEpPUEPDDsk5+Z8qYdnIiDFUJOXGBBIGxr0FS/ YXjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cbk9zdgl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i8-20020a17090332c800b001d00594c6e6si1489901plr.106.2023.11.28.13.36.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 13:36:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=cbk9zdgl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A90ED80BC52B; Tue, 28 Nov 2023 13:36:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346579AbjK1Vfm (ORCPT + 99 others); Tue, 28 Nov 2023 16:35:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345025AbjK1Vfg (ORCPT ); Tue, 28 Nov 2023 16:35:36 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14AD912C; Tue, 28 Nov 2023 13:35:40 -0800 (PST) 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=20Beh=C3=BAn?= Cc: =?UTF-8?q?Pali=20Roh=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 28 Nov 2023 13:36:01 -0800 (PST) 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(-) -- 2.43.0