Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp811513rwd; Thu, 15 Jun 2023 02:19:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Zc/Ve3FiKHh57i3GOPmrpHknJF+jBDh+eGY6th3x1R9FZcxYpE6TUFI666q3Csnqrp9pN X-Received: by 2002:a05:6a21:3948:b0:116:d935:f742 with SMTP id ac8-20020a056a21394800b00116d935f742mr4240434pzc.20.1686820774116; Thu, 15 Jun 2023 02:19:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686820774; cv=pass; d=google.com; s=arc-20160816; b=WjPHt+tZ3jYlN3RQlSKiiU8kuKDpnGSdbcqU+M4yyiILCER/FHugkRHkrJvuY97Q2q BQlAyG49N9uFA6tVD+iQ3A5A01dTiYxA37egTtUBxQsHCiooTlMevIBs1c9+wuWvaMAH R3Q/DHJv8Zqh8dOe2SmZTSfxdKeZou0LAex/rIFiJ8RSNOsEbwGmMxuuRIIYEDUdpKtl Qq2rf/dRZ7g1YD89WvbhBtLBmFCsgTGF6iBCFK/+NjplLAiGzIOpL4M4Aew+TChkwONu aWFS2F5cpgkU+BPnbnCWqcUae7NBM40CP5g/aOEisBFQ5ezqT1LcqulUGKvCO2OnpemS rqlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:dkim-signature; bh=BicazK59+OZP+1SXHwRJT95U+h5d4mA7SQ6XBE4T3QA=; b=MXgSsNEwRxQHQcJrU/OZsigZncqElq7mtOV94GI2bp31nWVZd3hexVjl/h4FtwcvJx F9EEN9gCqxrqDzVlNWKp6YDHF9KaFg83KA+kkkfa0Yhqhzm7Hfvg1OTxKHi9IkbNgUwy JR/tigLyLvirAMYoT7HysmWHPjfkiKKm0P3wvKEIxIlZc+N9PjVBv77iOTyYEAspxxPK tMvytzlQtL/irJm4yQErphdjv0UtpzBLDtw0Bg9PBkeRPHXEcTytqPWkjvueC1CviDPa /tdF80d27czrDjNXmluD0tAWUOABc35LU3DmwGE4vyxE7p0u/HdrCP9X2RkOk6Q/9ypk 5ryA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=rUHyy55R; dkim=neutral (no key) header.i=@goldelico.com header.s=strato-dkim-0003 header.b=RcwLyA4O; arc=pass (i=1); 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t127-20020a625f85000000b0064378bea76dsi12235982pfb.239.2023.06.15.02.19.21; Thu, 15 Jun 2023 02:19:33 -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=@goldelico.com header.s=strato-dkim-0002 header.b=rUHyy55R; dkim=neutral (no key) header.i=@goldelico.com header.s=strato-dkim-0003 header.b=RcwLyA4O; arc=pass (i=1); 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245507AbjFOJOP (ORCPT + 99 others); Thu, 15 Jun 2023 05:14:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245438AbjFOJOO (ORCPT ); Thu, 15 Jun 2023 05:14:14 -0400 Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C4E910EC; Thu, 15 Jun 2023 02:14:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686820449; cv=none; d=strato.com; s=strato-dkim-0002; b=fefOkQqiWhmDl2H7OM6ldcwzgbu/zXFty4RgKmLCtqulw3e/Wx5z680zYJ0LJKjgcB BF422e9gMoXKbOjqGHXyNAAFBYUSrZUK/QhoknB7QOcgZTjYeiWBuvDL86Ck9wJbE3PS 5ReoNICVH1X+CxuSvejWZPgHlbm1jysNFYzrrP4m8GbR5l9H+MkrEm+YBfEEO46GDs6j +ztisFr7fyNW00UPDhqL7gYOT0ZytxbPMwRr0gv6lL1vbAswaKQmIKpt0EqIHfIX3A1u SxvUwt37iLPnN3foxalh5I2uCEEjx6atUZQX518J52oiHFOaIAxLZCm5uuVJ8pnVLack 3ESA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1686820449; s=strato-dkim-0002; d=strato.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=BicazK59+OZP+1SXHwRJT95U+h5d4mA7SQ6XBE4T3QA=; b=LQO/LPzEGdA9UwFC9dzDAgoeFCaCCP9SE1ueFM3jI9cbmQwnCo99Er2OfjMwExgOF2 yvK2ZQCvhb5HmLqiJsEqTOrJxhh1OmpNjjtnFIlcFwALraF/IHVab7Va6/LGi5P6U2RA Y4tZmoEVZ/QkE+fVbaWKDnJjE1AEj/y77/0SOHF7HTDhqqNpotAv2j4Ooka4VZi1x38x Dsr7BTSyDV6qjI9qpllF7TOYguusLs6ARA3ZcZl/OV2EHdPEDQPMlvdzPyZifwy0b7Co lgpR+Ba5n8IjTZbACmNksQEQm5vYkTF3Pahbd9rP0D57gFOUzLnmYn4KG3HGfZ3JICo4 0L4Q== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo02 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1686820449; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=BicazK59+OZP+1SXHwRJT95U+h5d4mA7SQ6XBE4T3QA=; b=rUHyy55RxEJTXwKcWTKZA1N0yheRcdPGMOh4Xfg/RFJXgtovOpM9eaSJoPKKpLzgcy MZvMfy8TrzN7xEkSfVrgtOc/JqYWtvvnt6qF1hhxx8K8pkJTpqegDOK9T6CowWzC/q+k wTcP3vqq7L1bTdY6+s8RJuLjFXlgaxjG8xtFdGqk46GuH9vttUoeat+JPSBOV4T3AJXe muT4beRW1+X7h9orRqbUMh+/wy61ie6nn/tck8pX1S476JAMV3psILL/5OS5O+Q5tZ2F kbHlTNxO9BLVWAkc0Q9az4Z/31AWd/r5fCJP9q0xKbyti0lwsx4Q0e2TQ+IAzdS3M7fQ Yrdw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1686820449; s=strato-dkim-0003; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=BicazK59+OZP+1SXHwRJT95U+h5d4mA7SQ6XBE4T3QA=; b=RcwLyA4OPNdhJA3wMvIyIuABeYT0baFEjP4xaCUesnWXFYeyapfAO1KjDLB8vKDvAC OK8XAaj/yJnPuxqjGvCg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5Apz9PSN6LgsXcGeonQ=" Received: from imac.fritz.box by smtp.strato.de (RZmta 49.6.0 DYNA|AUTH) with ESMTPSA id jaf17fz5F9E82sB (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 15 Jun 2023 11:14:08 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH 0/9] MIPS: CI20: Add WiFi / Bluetooth support From: "H. Nikolaus Schaller" In-Reply-To: Date: Thu, 15 Jun 2023 11:14:08 +0200 Cc: list@opendingux.net, Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , linux-mips@vger.kernel.org, Thomas Bogendoerfer Content-Transfer-Encoding: quoted-printable Message-Id: References: <20230615084006.79194526F801@goldelico.com> To: Paul Cercueil X-Mailer: Apple Mail (2.3445.104.21) 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_NONE, SPF_HELO_PASS,SPF_NONE,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 Pual, > Am 15.06.2023 um 10:45 schrieb H. Nikolaus Schaller = : >=20 > Hi Paul, >=20 >> Am 15.06.2023 um 10:39 schrieb Paul Cercueil : >>=20 >> Hi Nikolaus, >>=20 >> Le 15 juin 2023 09:00, "H. Nikolaus Schaller" a = =C3=A9crit : >>>=20 >>> Hi Paul,=20 >>> I was in holidays and could not review this series earlier.=20 >>>=20 >>>=20 >>>> Am 04.06.2023 um 16:56 schrieb Paul Cercueil = :=20 >>>>=20 >>>> Hi,=20 >>>>=20 >>>> Here's a set of patches to add support for the WiFi / Bluetooth = chip on=20 >>>> the CI20.=20 >>>>=20 >>>> WiFi works pretty well, provided it is used with the latest = firmware=20 >>>> provided by linux-firmware. Bluetooth does not work very well here, = as=20 >>>> I cannot get my wireless keyboard to pair; but it does detect it, = and it=20 >>>> does see they key presses when I type the pairing code.=20 >>>>=20 >>>> I only tested with a somewhat recent (~2022) Buildroot-based = userspace.=20 >>>> I enabled WEXT compatibility because the CI20 is typically used = with a=20 >>>> very old userspace, but I did not try to use it with old tools like=20= >>>> ifconfig/iwconfig.=20 >>>=20 >>> ^^^ great since not everyone is using memory hungry latest = user-space and=20 >>> ifconfig/iwconfig is also available on some other OS so users like = me=20 >>> can share scripts.=20 >>>=20 >>>=20 >>> But I had quite some issues with this series.=20 >>>=20 >>> 1. I could not boot my CI20 V2a board after applying the full series = to v6.4-rc6=20 >>> 2. bisecting failed because vcc_33v is used in a patch preceding its = definition=20 >>> leading to DTC compile abort=20 >>> 3. after fixing I could bisect that "MIPS: DTS: CI20: Fix ACT8600 = regulator node names"=20 >>> is the first bad commit - although I don't see immediately why=20 >>>=20 >>> So this series seems to be severely broken and I could not even come = to=20 >>> a test of WiFi and/or Bluetooth which the series claims to support.=20= >>=20 >> Well, that's strange. I can assure you it boots and works here. >>=20 >> Maybe it is a board difference; I have a non-square green board - so = the earlier version. >=20 > Ok, my V2a is the bordeaux one. That may indeed make a difference. >=20 >>=20 >> Since this patch will actually make the various ACT8600 regulators = work at their specified voltage, maybe the voltage on one of the updated = regulators is wrong? >>=20 >> Maybe change the regulators one by one back to their old name, until = you find the one that is problematic? That may give us more info. >=20 > That is what I also have though about but have not yet done. > Will try as soon as I find a time slot. I have reverted the whole patch (had only a conflict in wifi_io / LDO6) = and now I can boot. But do not see a WiFi or Bluetooth interface. So it looks as if the CI20 variants are indeed different. Which would = also explain why we originally came up with two different solutions to add WiFi. Next I will try to bisect the individual changes... >=20 >>=20 >>> Comments to some individual patches follow.=20 >>=20 >> Sorry about the vcc_33v. Honest mistake. >>=20 >> Thomas: are you able to drop this series from mips-next, or should = I/we send fixup patches instead? >=20 > Well, mistakes happen. >=20 > Best regards, > Nikolaus >=20 >>=20 >> Cheers, >> -Paul >>=20 >>> Best regards and looking forward to a v2 for testing,=20 >>> Nikolaus=20 >>>=20 >>>=20 >>>>=20 >>>> Cheers,=20 >>>> -Paul=20 >>>>=20 >>>> Paul Cercueil (9):=20 >>>> MIPS: DTS: CI20: Fix regulators=20 >>>> MIPS: DTS: CI20: Fix ACT8600 regulator node names=20 >>>> MIPS: DTS: CI20: Add parent supplies to ACT8600 regulators=20 >>>=20 >>> ^^^ should IMHO be a separate series since it is not directly = related to WiFi / Bluetooth=20 >>>=20 >>>> MIPS: DTS: CI20: Do not force-enable CIM and WiFi regulators=20 >>>> MIPS: DTS: CI20: Misc. cleanups=20 >>>=20 >>> ^^^ these two do not compile=20 >>> The Misc. cleanups do not belong to this topic.=20 >>>=20 >>>> MIPS: DTS: CI20: Parent MSCMUX clock to MPLL=20 >>>=20 >>> ^^^ this is only loosely related to Wifi / Bluetooth=20 >>>=20 >>>> MIPS: DTS: CI20: Enable support for WiFi / Bluetooth=20 >>>> MIPS: configs: CI20: Regenerate defconfig=20 >>>> MIPS: configs: CI20: Enable WiFi / Bluetooth=20 >>>>=20 >>>> arch/mips/boot/dts/ingenic/ci20.dts | 148 = +++++++++++++++++++---------=20 >>>> arch/mips/configs/ci20_defconfig | 47 ++++++---=20 >>>> 2 files changed, 133 insertions(+), 62 deletions(-)=20 >>>>=20 >>>> --=20 >>>> 2.39.2=20 >>>>=20 >>>=20 >=20