From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm2-f13.google.com (mail-wm2-f13.google.com [74.125.225.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4EEF3AFAF8 for ; Sat, 3 Oct 2026 09:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791018921; cv=none; b=MVriGs+DwrKRGITKIswiTpESb5oeYRCi+/9SpQQCaWaSsscb/MKKXMS3RBg0FILjIvhA/Kajp8YIplOLu75gcy0pRYYmyOazut2aBbJfSp9CtjsCOS5SDdmXI5YgLVtA7Vbpq0ppmxM6ue5omaL07Rtjh7h9KwAkQlR7V8/T1MQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791018921; c=relaxed/simple; bh=7mIMzpWt7Kv6nfILtop51S8DtZZgj6RXsaVJr/LrYuM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PvfAOYkeiQlRibgJOhJr2bQrNmxQHCRILUxL4EyCjjMLE/JRpmdyAFi2+WJxREScTQObxoI/voPp1+M2SqbrYZSetso+nfSsNFZF87mq2DLQUPTM7qF5KjlLGWZHAru1Ut0opAKVSizTJ2BcBNNiCbhYnb5lDhRL9pkcuMEoQyQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=l/yAwybu; arc=none smtp.client-ip=74.125.225.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="l/yAwybu" Received: by mail-wm2-f13.google.com with SMTP id 5b1f17b1804b1-4a09e2d0f7dso3133715e9.1 for ; Sat, 03 Oct 2026 02:15:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1791018917; x=1791623717; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=L+D0wcMiZw7JqhFEXAX/EBPaHQLIVoMlrQj5WJPMGog=; b=l/yAwybuaFd8Usw2K5olMfjJmTthqbvLtGJZME8MUa6ndH/jY9pFcJoL4hj7nDh6/t sfZICwt2y+F5HqlK4JS3zBnKKfHoGUD7CQsVGhKQdYNu0gu5yvcYa1PI3zw8yuP9lglO ZwZd2TysCDZr66fi6T1kVbRpWO+sE+wUtJVrtCw7oiXmdx5y/BgwSInqxOuJYXcuwSTD 7ym8iOBpm3rIVfErwnShz7HEfvJwS2hWeAQkzCcTHvwyetnvYF1ctuUYaRKlQa+u3l95 jrWzmttgJIlfBj4ngtPWyWkd6TeFPxQ1JqDprIfX1jCt2XwItJ4hYBsCmbkLSStoZsMO ocAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1791018917; x=1791623717; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=L+D0wcMiZw7JqhFEXAX/EBPaHQLIVoMlrQj5WJPMGog=; b=jaX2HYtpMzIAJOKoM586YkcA511s2nUHDwueMGBWcDZv5NAQM+YoCSHHEsw0cU8rwR V2blIxOiIG/53lh0IssyAo+0seUhkopcl3v819QM5oa2Ey1z8X7ucZ9mr5zvfJgMEnzc lAgdmHJX7QZJ6xVlg1oH6Xa09I+V8GSLPuuTDUF5XmSB9p9xgt08HPJgd8BOCxX61IBO il69h2j01LnAjiYQ+k9SS3KDjf6/3url6FrK3M1QZ7lKm3UrBxikIvQS98V4sfwDOK43 HZAsTEgy7wVg96ok81Fyi6LLnW5b3xPQG7k7/DT4BG+ffqvGFSwPjPhVtyO1PI15TFjE BzRw== X-Forwarded-Encrypted: i=1; AKwUvBxr76oErnIp2WAuG1tNMNvI02bU4PwaDHZ6DhdMRCGnl3lB1VqBmcpVTFi2xVA3ogx6Sdb/epyueeLo@vger.kernel.org X-Gm-Message-State: AFuF++leMa9q1RZA3rCaBg3Kiu4+SQQ3pqpE7urW7eVneC/jCPko5c5e VaFxLCcZh8f6ifkor3d1ESrk8iYozMDda+m1IS/CbgrMUW0OQFZHA8pq X-Gm-Gg: AYBFou1RXfqNSH9Z4Ucqez24Qxt7359ToE3isoyp3AvWiX3b8j5abAkKxyGdEXCZEZ5 3+mzIbTCXNnMLhJ1den1GrHdrwF1hJeZXqa/D90am4YuE+vhvYStVLv8/AsieZkZWrPGCiVw79U QlZKeIh4eIT4rJT3AuiRizPiXuAoaaiaWpdomue28w9+ys2Ir7P9ahTW5/qm71ptNFbYvQPYAeZ 3fau3XnP+NCWbDNP5iCbzCE+5nktdezs3u0qWzSZ+uBRLwvrg3nV7siG/M1LkG8NkovinrHEb/x pL3tHnRFkhoi3uBMUJ8ZuPkLhJglPrDC0DcC6dPIpLzExhxm1uSXa4JOR8d9Xvesag66KKqk59K S6u/Vv7fRPGBldytyGjHfhvl6bu4Q9CWxVWC4jgmfgQc0XIs3eWBwepxMolVZWgF0zsdypyL6vy tkDlyNHhQzeudmpurcHqVThYTSO1PrvR4M+omF0Tc50cLPNt3ko2AfcPXrFdTjMsH354mfK3UBy PcfuYEo8ghh1C41tHqwAw== X-Received: by 2002:a05:600c:8710:b0:49f:ce73:5e96 with SMTP id 5b1f17b1804b1-4a02759555dmr75369925e9.34.1791018916839; Sat, 03 Oct 2026 02:15:16 -0700 (PDT) Received: from FranzSP11.fritz.box ([31.31.60.25]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-48b82253dc9sm11336161f8f.3.2026.10.03.02.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Oct 2026 02:15:16 -0700 (PDT) From: Franz To: Jeff Johnson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: Johannes Berg , Abel Vesa , ath12k@lists.infradead.org, linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RFC 0/3] Allow DT boards to disable WCN7850 hardware rfkill Date: Sat, 3 Oct 2026 11:15:06 +0200 Message-ID: <20261003091509.4822-1-franzelfranzel@gmail.com> X-Mailer: git-send-email 2.56.0 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On the Microsoft Surface Pro 11 (X1E80100, board "denali"), the WCN7850 hardware rfkill input reads as "radio off". ath12k turns on hardware rfkill handling, so Wi-Fi stays hard-blocked: iwd: Error bringing interface 4 up: Operation not possible due to RF-kill ACPI platforms can already turn this off (ath12k_acpi_get_disable_rfkill()), but DT-based boards have no way to. This series adds a boolean "disable-rfkill" property to the ath12k binding, makes ath12k honour it, and sets it on the Surface Pro 11. Out-of-tree Surface Pro 11 kernels already ship an equivalent change. This is an RFC mainly because of the property itself. Is a generic "disable-rfkill" acceptable, or would you prefer a vendor-prefixed name, or a different way to describe a board whose rfkill line is not usable? Testing: next-20260929 on a Surface Pro 11, with the ath12k change and the property added to the installed DTB with fdtput. The interface comes up and connects (5 GHz, 160 MHz). The DTS change builds, and the built DTB carries the property. dt_binding_check / dtbs_check were not run, because dtschema is not installed here. On this machine the endpoint is only enumerated with "power: sequencing: qcom-wcn: power off WLAN at probe", sent separately as a fix for b921aa3f8dec. This series was prepared with the help of an AI coding assistant (Claude): finding the cause, writing the code and the changelogs. I reviewed it and tested it on the hardware. Franz (3): dt-bindings: net: wireless: qcom,ath12k: add disable-rfkill wifi: ath12k: honour disable-rfkill from the device tree arm64: dts: qcom: x1-microsoft-denali: disable WCN7850 hardware rfkill .../devicetree/bindings/net/wireless/qcom,ath12k.yaml | 7 +++++++ arch/arm64/boot/dts/qcom/x1-microsoft-denali.dtsi | 2 ++ drivers/net/wireless/ath/ath12k/core.c | 3 +++ 3 files changed, 12 insertions(+) base-commit: 6474fa070f2b8013b4b87350b775b8c3be6e8aac prerequisite-patch-id: aafe3fac38f4020441979665509928f8cc832095 -- 2.56.0