Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4565185rwd; Sun, 4 Jun 2023 08:00:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Qga5z0GBAOJ0mrXmoAzz+cXPHTr3Ou4ZpeD0IVdXsFGdsWes57Xk4+33ylhextjwPKNY1 X-Received: by 2002:a17:902:d2c6:b0:1b1:99c9:8cd1 with SMTP id n6-20020a170902d2c600b001b199c98cd1mr5092136plc.28.1685890806675; Sun, 04 Jun 2023 08:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685890806; cv=none; d=google.com; s=arc-20160816; b=p/uGF5VoMzl7I/rilfiFN9KJAXEAOSI/WxCND8NHNxZRXKSCA51FSn4Us8zDGv4R6O 8dnkREPS8kNA31nh3THFNPRytNt2yQ+EWdM6cv3XHyx61jlzD99ktx/ci1uqNLMqYPnR bFqzfsuMpqNJiXsMnlUIfp5oEBrx3pzoCSxgaNCc9aShHIVI6sM7hxp9h0FaO95WK+Vm un4VHiC1k7AzkNw/RWdpifA8Az/xF7iBd4ESBdI1CXy+5HzILfnSKVmSXrits4rPBVrq 44qjf1S944ZIFazzV5s5aCn5dTZeq0ZR71UBC3vTK6SdQUH3Cebo+l0incCclrH1U7Pa acMw== 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=aUm8nxoMkt5vtIyk2EeQbuAcNEwuQxxePTczf1+Ra6o=; b=mO96R2XAWJ+dsRmGIzm/yOXFvAQcVPFgNajgKEsz9lSf2i5ccMDbRF4jNdW59Yn9jQ 4nzDmcoqv2Ny/DF2xzkiF+1D6rASTXR5GIWDQoN/weasJyoRkjw99Hy4KtVvdXFl4ceO ucpMI1skEuIQ2Gaf+meg6d5OILuvtOaDijGlG/wSbzZ64LugX2CecWBS6RVNY4NA71+p 09l6RRan4k1COH/s5hHBfLBjR7DbN3UEUIbblh/24bzXTlyZ+vAQIu7cQe5lBuJazBHo prjDnZSQEbl9li/oTkjjankn6eDQMl9JvQuAanRRjWP67jAzv+Zlm3m278k728fakNHi 8KVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=giN82oAI; 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=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z19-20020a63e113000000b0053fb3bd8ee3si4089284pgh.806.2023.06.04.07.59.54; Sun, 04 Jun 2023 08:00:06 -0700 (PDT) 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=@crapouillou.net header.s=mail header.b=giN82oAI; 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=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232096AbjFDO4y (ORCPT + 99 others); Sun, 4 Jun 2023 10:56:54 -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 Content-Transfer-Encoding: 8bit X-Spam: Yes 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_PASS,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 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(-) -- 2.39.2