From patchwork Sun Jun 4 14:56:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 689091 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 064C7C7EE2D for ; Sun, 4 Jun 2023 14:56:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232002AbjFDO4x (ORCPT ); Sun, 4 Jun 2023 10:56:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231909AbjFDO4w (ORCPT ); Sun, 4 Jun 2023 10:56:52 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 235BC83; Sun, 4 Jun 2023 07:56:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1685890609; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=aUm8nxoMkt5vtIyk2EeQbuAcNEwuQxxePTczf1+Ra6o=; b=giN82oAIH5BKybRITpljyFWW87PlYw3IFJsVU/Wdt9jABVxhXA7zQE5ZuQMC7wPgXqlEbC GmOQmzszVA5nHRq14QisUWI8hiB6nYqJOAjgoL6b4DcX2iIQizd5OEflO8CcY9hAvxWB9z +X7MWAU+zbuJNjg7tLKkfDPixJ7qfrI= From: Paul Cercueil To: Thomas Bogendoerfer , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: "H . Nikolaus Schaller" , linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, list@opendingux.net, Paul Cercueil Subject: [PATCH 0/9] MIPS: CI20: Add WiFi / Bluetooth support Date: Sun, 4 Jun 2023 16:56:33 +0200 Message-Id: <20230604145642.200577-1-paul@crapouillou.net> MIME-Version: 1.0 X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, Here's a set of patches to add support for the WiFi / Bluetooth chip on the CI20. WiFi works pretty well, provided it is used with the latest firmware provided by linux-firmware. Bluetooth does not work very well here, as I cannot get my wireless keyboard to pair; but it does detect it, and it does see they key presses when I type the pairing code. I only tested with a somewhat recent (~2022) Buildroot-based userspace. I enabled WEXT compatibility because the CI20 is typically used with a very old userspace, but I did not try to use it with old tools like ifconfig/iwconfig. Cheers, -Paul Paul Cercueil (9): MIPS: DTS: CI20: Fix regulators MIPS: DTS: CI20: Fix ACT8600 regulator node names MIPS: DTS: CI20: Add parent supplies to ACT8600 regulators MIPS: DTS: CI20: Do not force-enable CIM and WiFi regulators MIPS: DTS: CI20: Misc. cleanups MIPS: DTS: CI20: Parent MSCMUX clock to MPLL MIPS: DTS: CI20: Enable support for WiFi / Bluetooth MIPS: configs: CI20: Regenerate defconfig MIPS: configs: CI20: Enable WiFi / Bluetooth arch/mips/boot/dts/ingenic/ci20.dts | 148 +++++++++++++++++++--------- arch/mips/configs/ci20_defconfig | 47 ++++++--- 2 files changed, 133 insertions(+), 62 deletions(-)