From patchwork Mon Sep 30 10:30:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 832014 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) (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 BD1C813D281 for ; Mon, 30 Sep 2024 10:30:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727692253; cv=none; b=HButmkMjRH2+p96WRUGw4TweIUwQ3QNyL5c4euNa0NU66jCXhOQvTNJbWU2VCgcx+js7V+G5iRu79bF6lvyW7rrix0yqeCKXrpBGjdvQUlzWyk0YYJQvhPfI8Uu7S6eCKAtydLLko2nPOHmIL8zgJa2lGKAU7Sd0/4wY84NO4us= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727692253; c=relaxed/simple; bh=gdf8DnKizK3i3keOQASM5b9xgFXc7/ucEC6E9G2n2FM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cfCJabNsgEXBAUsXfU8GiaZt2NhKCc8ZJGPvdCMFKLvLLO2S8MG1kPn6NJXKGR+pWqqm1IeiyFPai60VhjzuqB+FZXvVIWqbmsIJ99SXsbudu1CZ5XGb1RQZFEEjXV2dMIgYiCkTIhkLHjvrYYINEyj6ocGtrF9JGEDuahnz66I= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=EIvu0EJU; arc=none smtp.client-ip=209.85.221.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="EIvu0EJU" Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-37cc9aeb01dso2301299f8f.2 for ; Mon, 30 Sep 2024 03:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1727692249; x=1728297049; 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; bh=Wu61EUWpiyAOYTeN6pZh+c4oIirG0bVHbvANbpIgvcs=; b=EIvu0EJUFFLtC4vhKvJOHs1/pY6Kd8OvluugfPTTHXHc09FBSq1GH1lZYYTvVQ1yeD k6Av2r1hX0IDXGYJbmUmezDxHiQEa30EGjVnoi0AA/uFNCBYftUVSxoH8jYic5Vn1y0s Hv7QWHPun9422lEcH1C1tyhGgY0i0GDSfekRKNmjS059TLS1S1oryj0BXcZ2mXKSXmRa wxJaUdSv5P6hXDF6+q+f0wqDUiFuZ5y0Qpgwv1GJdvwxxyTm2ODtYarrKNZkcnlZD7XG 2XQDvwovQmrT96o49vC9pciM1ykZMzEg0FlyMLQWuYIpEYsT0DW0dOYYmUE1kfe5zzZb sbGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727692249; x=1728297049; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Wu61EUWpiyAOYTeN6pZh+c4oIirG0bVHbvANbpIgvcs=; b=tB9VlIOMdLdRa5Qm2fIRb/EfTWo8K8Ud45AZPTAEnzqC5hn80QGgVT38gHakQs7eMz 9b3LMZp1dgHdSEb/C6tiFPtF/cFolrvtc4eqFGvYE5yRYP5ArH+otozyT1wM94bpgVYL +tUiOjoQi34k7125MYo8zcN6l3ene/mylPpJ5ulAZFIwq9GXmwLI/gY8WbtktRHik2Fj m6xqh4e9Q94Uz+DwVwZHrVnJybURpcL4uRRbA577qrAz86ViyKaWv2XhBucPZTL9e5Wz 4+bcwGezsq1deUe+ytrM0fBPxd13NwQhg4XRgK4k/ssD96tMKVB6vpKEcBryiDA5Rj7m 73qQ== X-Gm-Message-State: AOJu0YxVKPRBAFZ3Tjg9nOK30EjclU3jpI/VYXhD5C98V+qUb1CobBnA Ml/zfnCROCuXkUppSt9SxHboRqUP1isYVIqiFstbCGkHy0namy758udB1HCS2YxNyS30KlIwl47 J X-Google-Smtp-Source: AGHT+IEO6hNwxWynJqFi+Z/MefDokOBn4BXSQtP7VzFMLO+01Cav4kBQEJ6CUlg9dgf5qzvWhNUp9g== X-Received: by 2002:a5d:60ca:0:b0:37c:ccb1:e92c with SMTP id ffacd0b85a97d-37cd5a873b9mr6164365f8f.13.1727692248804; Mon, 30 Sep 2024 03:30:48 -0700 (PDT) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:8791:e3e5:a9ca:31a6]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37cd55a5414sm8835051f8f.0.2024.09.30.03.30.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Sep 2024 03:30:48 -0700 (PDT) From: Bartosz Golaszewski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kalle Valo Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v4 0/3] arm64: dts: qcom: sc8280xp: enable WLAN and Bluetooth Date: Mon, 30 Sep 2024 12:30:36 +0200 Message-ID: <20240930103041.49229-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bartosz Golaszewski This correctly models the WLAN and Bluetooth modules on two boards using the sc8280xp SoC. For the sc8280xp-crd we add the PMU, wifi and bluetooth nodes with the correctly modelled wiring between them. For the X13s, we rework existing nodes so that they align with the new DT bindings contract. v3 -> v4: - bind bluetooth pins on X13s in patch 3/3 - only drop the regulator-always-on properties for vreg_s11b and vreg_s12b and fold this change into patch 3/3 v2 -> v3: - move adding the bt-enable-gpios to the PMU on the CRD to patch 2/4 - add a patch removing the regulator-always-on property from regulators on X13s that no longer need it v1 -> v2: - fix commit message in patch 1/3 - drop drive-strength from the wlan enable pin function - drop the calibration variant property from the wifi node of the CRD Bartosz Golaszewski (2): arm64: dts: qcom: sc8280xp-crd: enable bluetooth arm64: dts: qcom: sc8280xp-x13s: model the PMU of the on-board wcn6855 Konrad Dybcio (1): arm64: dts: qcom: sc8280xp-crd: model the PMU of the on-board wcn6855 arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 168 ++++++++++++++++++ .../qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 100 +++++++++-- 2 files changed, 254 insertions(+), 14 deletions(-)