Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4357738rwb; Tue, 8 Nov 2022 16:10:06 -0800 (PST) X-Google-Smtp-Source: AMsMyM6+67h5zvcA85uaI5eINMBSAQIcaiW8GCdvGQbcZR/rjBQwI23fmIHDOhb+LL9Y3CQRkxfG X-Received: by 2002:a17:907:c60f:b0:7ae:15bf:957e with SMTP id ud15-20020a170907c60f00b007ae15bf957emr30524972ejc.621.1667952606347; Tue, 08 Nov 2022 16:10:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667952606; cv=none; d=google.com; s=arc-20160816; b=fjX7VaoGZ3htQgw9i/wsYesQ7raEzyKmjmhxeuzGK605lgFwdLTZj4CV94Y+GPeeiQ xrcMx7NzzEj5bUKxrl2x5H0RXLtcrVZh23T2cAbQWFx1kfKzYEFvgR7nHjM4nXMi24Ts H5HzZ4D4A+o6lVYaT2497Ri7ZODGV2dy/2zWSz6UzzaF83ydVkNyabke/we4WjCv/Low GPd0MPMqbuIsuUavPDo7txskGKsgvuAQgeEowO/hQOwyGy+Wo30z+fkADljtdx4EG9M4 UKu0MP2Hv/YDidhaWFofNyTNk6i7Q/cXYQbZGjeM+mtUmOnerOwiQe0RiDedLx9G/u+f sjOQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sC6gsMKAKOA/Rz2/dnCUrimHQeC17zqFqxxSC8RszEo=; b=uMTDTRpok7ZFIiia6GA2JGpn04E55KXrlAWdYQxZxb13/Yb074WXD6IKXi7J/l1Q2M vHqA4pikaEJAZn8ZpZUdrGU4t3+HzdGTGxa4Z3cC3OheqFe/8KWcPcLflwxKVsO+dFuY 2r7SCMV7bpEofdZRqJaF9xN0L4iKeQclSvC2ko/fwyi3fSiz5yMHEinRGM0tQYaEHQ0C seF5/xPWkXvmJ5FzChO/KZOlOO69H6MKEHndDktckOLodWVFJ3R9EiYZ5+XMmXiOIhT3 35z9L7a4RDBZ8WXN3zQ36ecRa4vu73s8WSs09toFgap+1WAWz6CrTPKpJ+JxtALujhQK vYhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=jW5s06q6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020a05640251cd00b0046207099f6bsi17473243edd.613.2022.11.08.16.09.43; Tue, 08 Nov 2022 16:10:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=jW5s06q6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230021AbiKHXWl (ORCPT + 92 others); Tue, 8 Nov 2022 18:22:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229492AbiKHXWi (ORCPT ); Tue, 8 Nov 2022 18:22:38 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25763220E7 for ; Tue, 8 Nov 2022 15:22:38 -0800 (PST) Received: from notapiano.myfiosgateway.com (zone.collabora.co.uk [167.235.23.81]) (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: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id A264766029AE; Tue, 8 Nov 2022 23:22:34 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1667949757; bh=iSYLVFrfBDBtb0u+gyb24wBKS/tjJ7khQ16l2UcBsKg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jW5s06q6CR34h4ck0WOnojS66azvqy74YZuLahqQAC411ENBi9ZXAhm73ifzNCrTi Kzfi4af4ypr5YasWCUMNgna0Cx56HXZWu4QUIqEUdIag6FcrzuU9UnOKI7ipBRr6Rr l1imlYVS678rEgc3YSeDeRYK6yzvS5qeXmn1XJGqiU+YM4ABzolVArmE5o9E20PToE N3lfETfLE38qe7CGQmvzkycl007DU0fZs3LtObVt/vbqFAOthPZSHlpozFw2HRxrs3 wNLEUCazUJY5RyrdBNZLQye7iT476uR0i2jAW/KoSCwTmtBudCNBM5+CKqRPo0eLOR eea6kVQWmvGHg== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Matthias Brugger Cc: kernel@collabora.com, AngeloGioacchino Del Regno , =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Arnd Bergmann , Bjorn Andersson , Catalin Marinas , Dmitry Baryshkov , Krzysztof Kozlowski , Marcel Ziswiler , Mark Brown , Shawn Guo , Vinod Koul , Will Deacon , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 01/13] arm64: defconfig: Enable SPI_MT65XX Date: Tue, 8 Nov 2022 18:22:16 -0500 Message-Id: <20221108232228.1177199-2-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221108232228.1177199-1-nfraprado@collabora.com> References: <20221108232228.1177199-1-nfraprado@collabora.com> 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,SPF_HELO_NONE,SPF_PASS 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 Enable support for the SPI bus on pretty much every MediaTek SoC. Only MT7621 is handled by a separate driver, all the others use this one. It is enabled as builtin since on some platforms like mt8195-cherry, the ChromeOS Embedded Controller is connected through SPI and it is responsible for the regulators powering the MMC controller used for the SD card, and thus SPI support is essential for booting. By enabling this on the defconfig we make it effortless to test the relevant hardware on CI systems like KernelCI. Signed-off-by: NĂ­colas F. R. A. Prado --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 226bb30ea7e2..171fbecd7372 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -505,6 +505,7 @@ CONFIG_SPI_IMX=m CONFIG_SPI_FSL_DSPI=y CONFIG_SPI_MESON_SPICC=m CONFIG_SPI_MESON_SPIFC=m +CONFIG_SPI_MT65XX=y CONFIG_SPI_ORION=y CONFIG_SPI_PL022=y CONFIG_SPI_ROCKCHIP=y -- 2.38.1