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 E4F813B0586 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-4a022e9cbebso4373625e9.0 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=l0wSMSsATJ7/FJUtYyVZL/znKAD4p8KNSnFLzwUrYvE+iKgmd3h89lIMzX5/q8UTJt JBEnL4hCVzXv3ZUdnK14mCUjSPthvoXWW+dKhvw44S1yRfv9XYj2c8+4v/Ig9+hoaNzr n2+QJ2px5S13D79yAVGmYGsymT0rZgK3eVCjWXqmyZac5SwlJMNRs0J8+7nqbN1K1nn3 2jQcca0yWD2G3fwXJ2jEJTaONtlVELhVxPNv5aUVESety9dJu5CEcXolxVVIvyIdUWEX Wol5/coWhGrD4Mxbzb80lBjE5SM4PeQyq5JHCNNzF6XfLcN4s2zzNwemJMbx6jKhGWeB ucng== X-Forwarded-Encrypted: i=1; AKwUvByEMGQeaclujnFv/ACb30+jyuEl+vx+S2csfSVlHug7j9BIhmTNuHsNluy1fH53rQe93jctQCVZmW9iUKI=@vger.kernel.org X-Gm-Message-State: AFuF++lYVqoAkOFw69G4/3URcQ4YcApLGCq7ixuzA0MswhKeEvLGAJFd bxG48Qxq7oHoDu9n09sSgSQbdvTeE9T065EAWdHrbvRZwhhKO55oBzd9 X-Gm-Gg: AYBFou3VpylpoNUZdJSZdicVNrjGmNX6mSv44ZxFJTGZv3789CSDd93SBQACiZc+9Ky DGjWXbhCRa4GLKsA5AHmgWq/oXAXm5UjBG927odmtgjL0FngFooY0TnaFqdCXi+ECoNLvrcSfwH 8Rwzf/n00tobJgA9V69lRxn1mY9kdaEsJsxnBXW1mhOrf2u1wI21rU8gAG0wDeyZYRwJmCgDSBx /lmBSdPgDOzX9jRVgNJCOyTdPss5t+t1eAaSbdzLLu3rncWVRHEzsLbi0Yxu1v2TKxM60hDNEsO VMcV2AmCK3g/dYsIijwcmXqfE4oFMpodsXjU5xW9OHJY4VDhuvbqY6drNItf6yGNi+p6mI2+gVm nwMz9U8izVsofB466l1pCJuD27wZRXN7uDnysxCkyGQesTUT5RRmViSYpagjJg/cgznq9PpFLgA K9i/tGx498sdCkheIoAen9TpUBcJVTHX/kwNNv0f5ixhGmbzX/W4jb6fPkrF9YvG9wAWtjfnQB/ ZSWILfomwpvLTMirVExtQ== 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: linux-kernel@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