From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl1-f42.google.com (mail-dl1-f42.google.com [74.125.82.42]) (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 7CAF423E34C for ; Mon, 9 Feb 2026 03:39:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770608383; cv=none; b=Nd91Jm8LsqWf4Ta0+fmFs/TyvBC9WISpfMnIMCxI1oQ1rrs5p73xL2r+vyJ9o0CrEhIkcBnqsHXaG6YJfPgzuSQ43XrLLp7bO6HYcgavqvKzl5QLDKIxyvJXaBcFEUzx7h2xoZhTnV+jPwddC0NKT0OW74g9ejbzBEffMujb2Lg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770608383; c=relaxed/simple; bh=mDWfQ5TQ7IKx3Jx2J+iH2KbYzclhCi7bvFUdjWsVD2Y=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=I6PvafcFJpVBw/MZr9SxCHmcMvlkDXsLUk8YuiLoSi6r+/tKZcQsIgiTV0jbA1UtccYH9+ZQ+yYT0QaG9f8OtextA75f2+oMdpEDCL9hHLyTvuM/xY/mRIM2tG/hk8hrZMtmID7PMyK68AY9xhwaMdC2+vTdiNnfX3KFuEZ9yQk= 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=Lq/+pCc8; arc=none smtp.client-ip=74.125.82.42 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="Lq/+pCc8" Received: by mail-dl1-f42.google.com with SMTP id a92af1059eb24-124a5810e41so180516c88.3 for ; Sun, 08 Feb 2026 19:39:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770608382; x=1771213182; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=gyuiG6Pl+KcjgV30EMZ/m11jRo1aHxOMp16zLwhY/U8=; b=Lq/+pCc8i12/lyVdX3xUL8dnSFEIEKwjiJsQJu0HnjJ7pwO1hhuYsLB57ue6UmaRPF vyTMBKTf8Fh8y6YXF2FYPaUrwhffpBA6TnTIMpi0Mo68ki1Zg2MqIrW/tVLzpju7Y2hV +wgD7YOE8xS6NfcTEv2Om38ldajjxC6M1Fi+Br0CchTHeo3g1AYHcHWPRzYlQWiWdivm f5f8n77O0dYSM9iwZY9mfcWV5RwWK0iGzV+VQ+Vhn/LWmH9LuxWlm621/rCGoRaoNr3e xvbtA54I5nZgCOTXwWJttGtYewL7xCKts0oB9/+r+tzTpq7G7GxYaksA8Y0mft/quYln sngQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770608382; x=1771213182; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=gyuiG6Pl+KcjgV30EMZ/m11jRo1aHxOMp16zLwhY/U8=; b=PLlo9Lv+tFf5sYZJ5H6C2KsWuew9a7CDx7c8K3xJRYOmlOTVdwHrLxPUpEU0UsYAzI 9RqdRwYfXratXIJDVDDk74OYm9oXrBOHznYTtwhUsbanUkcAxAH8qjkaMoun4akjCQkJ sveft21jQIL+7G+MU43rTjMWJfCHuf10NGElDW3Q2ij0Zru5/rRgNHRspt5BikbStlhB t1nDeP5jQ6huXMiIubdYv9BrvkHdHVJPmXvOej71hz1tLGWMJuDjEklT9oVNGcWYyePI 17AfShYCJcbxRftV8eLft+urbOj7pgA0qHTsht8qluBZPvuk0zrrKNvWz/TrtWzGbhi0 daNg== X-Forwarded-Encrypted: i=1; AJvYcCUmvTpG/ea4YARmnhrMUtjR5zLrx+xG1A/AL61ZezPeeYeVzNOd92QJcpkX/urXIb1xH6/1LiM/fpaybfU=@vger.kernel.org X-Gm-Message-State: AOJu0YzR812K/fcjESIa6U7P3/uZm7twdFbG0BK/6v9cAqQZkPmLMsz+ Bt7jdfXY98FgfDwJnvXGyIfNg2t26Uzxv+5kdkn17EASb6yxCS8Z03Be X-Gm-Gg: AZuq6aJGnPrq2am8oQ+jREA3Jctnq699+PTlr1iyrWANe4oFmQA5BnwB2iz9OZuf9QN v2LfzQjZFBt3sLXUWLNyQzayHgr8To7l9HwHEiO/h6B2z0cXNZPrrFUCBFk1kxL/lr79T+wXf3Q VBAu+YMlZ18/FTYEBkwQs1Fp+t2CF2L24djYNQ/1o69U2tuck932u0NpSZE/c3DXX1ozRmWBKJv 3VrTMibLgTCP0os2T5tr3OhksZOBP47O9L1MK30dbklMfNIE01LRgKc9b6uFu/mzfYx/5nExCaS 73BMW5B7yyIMwmBHDb5qnAYrHKlL/HhxkN5vJiJytF9bWDLbpdAa0eg0OYW1FRAMdE5ijIlAjag a+BbU/2UD1mmW2A0kITZGy9IXXBLcRlkIOU4tFjqE/NDwKE4qdNSlvZZR2xxk5tG5S6Ja0r40kS wmFEbg36+qycA= X-Received: by 2002:a05:7301:3d12:b0:2b7:e929:856b with SMTP id 5a478bee46e88-2b8564e83d1mr2149490eec.5.1770608382489; Sun, 08 Feb 2026 19:39:42 -0800 (PST) Received: from [127.0.1.1] ([45.32.86.188]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2b855af5ca2sm7682073eec.8.2026.02.08.19.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Feb 2026 19:39:42 -0800 (PST) From: Yasin Lee Subject: [PATCH 0/5] iio: proximity: hx9023s: firmware property, safety fixes, and ACPI support Date: Mon, 09 Feb 2026 11:37:01 +0800 Message-Id: <20260209-upstream-20260219-v1-0-2b4d74e309d1@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAF1WiWkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDIwNL3dKC4pKi1MRcXYiIoaVuonlimlmKZaKFaWKKElBfQVFqWmYF2Mz o2NpaAADk5V5jAAAA X-Change-ID: 20260209-upstream-20260219-a7af6d9a85ad To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , yasin.lee.x@outlook.com Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Yasin Lee X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1540; i=yasin.lee.x@gmail.com; h=from:subject:message-id; bh=mDWfQ5TQ7IKx3Jx2J+iH2KbYzclhCi7bvFUdjWsVD2Y=; b=owGbwMvMwCEYyfeRr6Zs90zG02pJDJmdYW9qnu5U3pikNe1Szo9PV15dcQt6c2TSWk/LVBX5D 7s/H15xuqOEhUGQg0FWTJHlzOs3rPmqD/cE/3bNgJnDygQyhIGLUwAmcomR4X/qUssz07Tu1h1c vcPui3hf1OK1a7TfHuhe98PspHRE762lDD9ul/Cpc23drTEl4EXXq38pvLv+fWL66W19lJvr9rE Zah0A X-Developer-Key: i=yasin.lee.x@gmail.com; a=openpgp; fpr=CCEBEC056F25E1BC53FB4568590EF10E7C76BB99 Hi, This series contains a set of small fixes and improvements for the hx9023s proximity sensor driver. The changes include: - Fixing a potential out-of-bounds access when copying firmware data. - Avoiding a division-by-zero case when the sampling frequency is unspecified. - Allowing the firmware file name to be specified via firmware-name property, along with the corresponding DT binding update. - Adding ACPI device ID support to enable hx9023s on ACPI-based platforms. All changes are independent but related to robustness and platform support, and are grouped together for easier review. Tested on a DT-based platform with firmware loading enabled. Thanks for your time and review. Best regards, Yasin Lee Signed-off-by: Yasin Lee --- Yasin Lee (5): iio: proximity: hx9023s: fix out-of-bounds access when copying firmware iio: proximity: hx9023s: Protect against division by zero in set_samp_freq iio: proximity: hx9023s: support firmware-name property dt-bindings: iio: proximity: hx9023s: support firmware-name property iio: proximity: hx9023s: add ACPI support .../bindings/iio/proximity/tyhx,hx9023s.yaml | 7 ++++++ drivers/iio/proximity/hx9023s.c | 26 +++++++++++++++++----- 2 files changed, 28 insertions(+), 5 deletions(-) --- base-commit: c8bfb63c902678228a0a265e22a5f55404988a43 change-id: 20260209-upstream-20260219-a7af6d9a85ad Best regards, -- Yasin Lee