From patchwork Thu Feb 15 11:04:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Lunn X-Patchwork-Id: 201387 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:b825:b0:106:860b:bbdd with SMTP id da37csp324407dyb; Thu, 15 Feb 2024 03:17:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCViHKrK1vtuXPLgge5n8afsHGxfXBYIdvsYS3oNvQB7vxha81Ewr9atQ+zZXo+hWpplGY6lCA82sRgsFzq5qG4SMW5OXA== X-Google-Smtp-Source: AGHT+IFMK5BRDilY/9UrMGZP9EzI2DbERXAX4Y8PRZ3uxkWH8t4DkG1RQenmnIYaFDl/wW69psnj X-Received: by 2002:a05:6a20:2d0a:b0:19e:a65e:5a2d with SMTP id g10-20020a056a202d0a00b0019ea65e5a2dmr2026395pzl.1.1707995857048; Thu, 15 Feb 2024 03:17:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707995857; cv=pass; d=google.com; s=arc-20160816; b=T9Fx4bz/zgnqJcskAAtkauVy/rpex2RFzaRS4b/iLgHJdsdyElE8elm6KnPu+XI7sx bYL4VvlnNHT8n7kLnJaiPM+oTis9DNaAVbpM5KZzlTE2I36R2hwxOapZAy47gjaonAsU i594NBqlk9bgiHIKaXQSm7GSP4kFR/ODoMCl0+C85/xPDvyLAfRpdo/r9c/BAFkwGBJP uVTLWabfqAxYyJyL0o4akNLlGw39ilx3037YcWjjUfNoqEVUxOukET5FJh5hD2h/ywjn 6OoZ/9p7FmGah/wkNx5hkxOn0UW89GziNPYGh48MF4PTbQqp6JuWFsMjDRWrW5IYiSGY xYAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:feedback-id:dkim-signature:dkim-signature; bh=RR82po224cAnswqmdwu8OoWa4lFFfxWacXvl3FqD6cw=; fh=UiIRvyNcVWdOmzJXXdPdbG4KYkraukOFSmZU3tCd7w8=; b=r0t1s0m3aMFZckvaUwljOJDH6R6Bq5TjsvTuRpiTjumrPcH0kspFW3p4b7M2yCLUXu +OE2s+V3JIHseFFgShApCe/v+7GlEo7SceDr0VY2LF/W+zfS4aDTk56ta4Vmsou2+txO lpM2wjPNMtMROOVIb8f3gpRrT+b+7/AEK/+deCwVivg/ox25q2Svf28i1+iR6Xg7LzSf ubCn52BxKXzD8cFt35O/+aSU/LcH2gz7rBvV9tZ/pK8F0BuqnftB/h1xN67WJ+9cRUVg /H7KGRKGIwOD6cZAVfVuFy7JwSTSaHFEsux2SqyjXXCAUGN7cO5JM0Aj+Iv1yqzbJY5r V/XQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm3 header.b=Vdn1X8sw; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RGKr+cD6; arc=pass (i=1 spf=pass spfdomain=feathertop.org dkim=pass dkdomain=feathertop.org dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-66738-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66738-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k16-20020aa788d0000000b006e0949b2543si1005512pff.342.2024.02.15.03.17.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 03:17:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66738-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@feathertop.org header.s=fm3 header.b=Vdn1X8sw; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=RGKr+cD6; arc=pass (i=1 spf=pass spfdomain=feathertop.org dkim=pass dkdomain=feathertop.org dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-66738-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66738-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CA0812876D2 for ; Thu, 15 Feb 2024 11:08:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F709130E3C; Thu, 15 Feb 2024 11:04:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b="Vdn1X8sw"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="RGKr+cD6" Received: from fout7-smtp.messagingengine.com (fout7-smtp.messagingengine.com [103.168.172.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0A72712AAD4; Thu, 15 Feb 2024 11:04:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.150 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707995094; cv=none; b=m3+9OKhswm922aws9v4lgn5fmjDwlBBzRnChDUpZLrICE5AIH2QFElQE4WTdizmbRlGLAzzSqwCMzhiCaM3gnWtBMFiDPTR4UiOJb6e7pfwPSqyGtOBmEoECPHPXte+aDqFA3h/yknZDAuNeoWOXqfFA8yCnB37Pw18YNmcdU1I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707995094; c=relaxed/simple; bh=76XsY0vxH4/YzSGwsKiLqKmQ3ldZMWd/keEZdv246nE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Tm0CDDCgJTSLGlvlFFPPFsumTyeiB/q2gZrKgfj4emfYkZzH0hRmersOifXTnYOxlU5qkxvmjB2JfNtwG14e6Zck0qNIBybbc+Pc8pA+HJIIFeUIczUJyBDckV5GjUz/VKJr06cXxzSEg9reiSRQRWhxp1luPCLTqbcKsA3BtT0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org; spf=pass smtp.mailfrom=feathertop.org; dkim=pass (2048-bit key) header.d=feathertop.org header.i=@feathertop.org header.b=Vdn1X8sw; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=RGKr+cD6; arc=none smtp.client-ip=103.168.172.150 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=feathertop.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=feathertop.org Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id CF62713800C3; Thu, 15 Feb 2024 06:04:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 15 Feb 2024 06:04:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=feathertop.org; h=cc:cc:content-transfer-encoding:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1707995091; x= 1708081491; bh=RR82po224cAnswqmdwu8OoWa4lFFfxWacXvl3FqD6cw=; b=V dn1X8sw9WwamSRxcnD6fyPcGr7yehA7EGVxLEGYjCL0MpAji4tv6SqLXUc7thcpo wB5m1y+ZxzIWSHqKZExOGn2QpxeMI4yT77i7V1L9vVmhfbAosm8mblR6jTQLCyzT N+XV3iSZKPmVkUWUMoJfwkKYnilEQru3G+6Uva7uaXEL/TfSq/hSfJ/ShLmIruPF NrdBn4S2glUoKsNMT44XwwylC62laBXDUfy8cmPY2TwnwtdCgfoSE0CLMXKB0XmE JjieWCKQe9b54NXrhaLZ6iAf5nRfNR8v8r5rQw4gRjup290dltmUZlNsZYZ1TbiA 3yut968rAQtD60LXDPxeA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1707995091; x= 1708081491; bh=RR82po224cAnswqmdwu8OoWa4lFFfxWacXvl3FqD6cw=; b=R GKr+cD6wxieC818LLDvpygzNcXfUpVhA1kTe2t54f1fo/4t5oLmFRtMqMOGDKQK0 NJiwHbczbXl8jJnJNXqHK/70Rt//kPuR41h0QLBzRpyDLn96I3TlcPgCP3yoWtXE 4HqpfTyYwURwErWioUicyTVHvjmLqGNTYdzFfCxdohK9ELJJQf+emYkvHFZSu06m 29BP1isvTF2sYE1fYJluYBseqN3kCm4Z3u8UMrLOHis2ZZ7pX2z58zodWTLp2ry7 THp1sIpLPBkyWvSwA6sHf7xn/dP/8D5JvfenJni7vKSohHNCZ1ltkzkf3Usr5FGI Xo8QRpthxPqeUsFsYauVQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddtgddvfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvihhmucfn uhhnnhcuoehtihhmsehfvggrthhhvghrthhophdrohhrgheqnecuggftrfgrthhtvghrnh epfeffuefhteegieekjeevgfdtfeethefgvdfhteefueffuefhhfefkefgkeegheeinecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhimhesfh gvrghthhgvrhhtohhprdhorhhg X-ME-Proxy: Feedback-ID: i1f8241ce:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Feb 2024 06:04:47 -0500 (EST) Received: by feathertop.org (sSMTP sendmail emulation); Thu, 15 Feb 2024 22:04:45 +1100 From: Tim Lunn To: linux-rockchip@lists.infradead.org Cc: Tim Lunn , Conor Dooley , Heiko Stuebner , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] ARM: dts: rockchip: Wifi improvements for Sonoff iHost Date: Thu, 15 Feb 2024 22:04:25 +1100 Message-Id: <20240215110425.934740-3-tim@feathertop.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240215110425.934740-1-tim@feathertop.org> References: <20240215110425.934740-1-tim@feathertop.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790963463887748021 X-GMAIL-MSGID: 1790963463887748021 In some instances the kernel fails to detect the sdio wifi module in the Sonoff iHost. Tweak sdio properties to improve detection of rtl8723ds wifi module Signed-off-by: Tim Lunn --- arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi index ba6c3a674f22..9a87dc0d5f66 100644 --- a/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi +++ b/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dtsi @@ -327,7 +327,7 @@ &pmu_io_domains { pmuio1-supply = <&vcc3v3_sys>; vccio1-supply = <&vcc_1v8>; vccio2-supply = <&vccio_sd>; - vccio3-supply = <&vcc_1v8>; + vccio3-supply = <&vcc3v3_sd>; vccio4-supply = <&vcc_dovdd>; vccio5-supply = <&vcc_1v8>; vccio6-supply = <&vcc_1v8>; @@ -345,14 +345,14 @@ &sdio { cap-sd-highspeed; cap-sdio-irq; keep-power-in-suspend; - max-frequency = <100000000>; + max-frequency = <50000000>; mmc-pwrseq = <&sdio_pwrseq>; non-removable; pinctrl-names = "default"; pinctrl-0 = <&sdmmc1_clk &sdmmc1_cmd &sdmmc1_bus4>; rockchip,default-sample-phase = <90>; - sd-uhs-sdr104; - vmmc-supply = <&vcc3v3_sys>; + sd-uhs-sdr50; + vmmc-supply = <&vcc3v3_sd>; vqmmc-supply = <&vcc_1v8>; status = "okay"; };