Message ID | 20240204130332.2635760-1-srinivas.pandruvada@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-51648-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp443628dyb; Sun, 4 Feb 2024 09:04:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IGX0876XMcSGZn1QA52KCOxpxPfDb/VXKE3TvXqXqfv3yOhjn3kvp2KAg1wcn2r/K7jcC8R X-Received: by 2002:a05:6a20:43a6:b0:19b:435a:a139 with SMTP id i38-20020a056a2043a600b0019b435aa139mr14272613pzl.11.1707066256674; Sun, 04 Feb 2024 09:04:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707066256; cv=pass; d=google.com; s=arc-20160816; b=bOkgzlW+Xk0y91WAtxzTesBRMXC1iiWZMn7TxzA+x6zk0TM4wqKY2F1FzaaFGDLX1R l3RcNIODJ/luYRw7zuMmbyEh1X98HMMIKjgwYRrJk/9vC5xw0dn+spmQGXh7SI1a4l/d PBkzhJ4xkUKAkeyLD3VT7JuOuYGmBlKNJmSxKrmLoYw88UDZJ9sN/WxsST8hr8sxWoRI BWxSLHD1ybaFh8RkN/niSElfoZ2/fbkj2Jw0Y2NAl1xgo2ugT+1r7+HC+gbih4zwuKMT j1hhCoPAXyBLbhk1cq/ECf8hlBRLKMtskODUppOExtru9HLDiV8ttUNeVdHr3Wacebt6 +vXQ== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=ZOEU+jUAAXGZxUfnD0Ga6HEx/nTVET4RsG0HdRs9+3U=; fh=84Qc7EVS8S9h4UC1tlkaS4kPAQ9EsaAsKhL3zawR+P4=; b=wC8sF2HW53lT+m3FqeLX6xfNUZ2fFPefm97pD7l9evAZeagYQQvbib8IOa7yzW0GaB smbR7EE9w8DjSVR3qei+goTjzdR8V/uXmydxTMvhjxm1wSXrt1IuFCYl/NqSFa5ZPhP8 ESsgGKweQiA9ie3CY2+1Pkom0SeOX55B1w7YqEQ2Vc1t+3iHHZbbX6kloE5xTfCtV8ob 54Xe3QEs3qUnqgFVlvkcOrcQHDkWp3/jJsz4bo5NgvtOd8AbwG66Lw11PQxG3/cIUeuE M7blQmYvDZEhaIWMu9qHyvpv93HRbn7NBjFL/DMcKH91AU6vK7kA9RK695PeClmUcDY3 lN0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OZaTUHxJ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-51648-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51648-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCXoBSojDfnh4Yn4bpNgI33fGcMQRTid28Uw2sQ0uT3jNCs67+42C63mjIS2aQPTcYwDltAj0g3LczlRZejhzJSm+utpUw== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i33-20020a635861000000b005ce19c68684si4770467pgm.495.2024.02.04.09.04.16 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 09:04:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51648-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=@intel.com header.s=Intel header.b=OZaTUHxJ; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-51648-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51648-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 C15BB283A89 for <ouuuleilei@gmail.com>; Sun, 4 Feb 2024 13:04:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CD726225DE; Sun, 4 Feb 2024 13:03:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="OZaTUHxJ" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 8402322085; Sun, 4 Feb 2024 13:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707051817; cv=none; b=WFF0y3Z7EmE27HReiniZvs47khh/tSJpKfYIJJ/6V8vTKKvR4yLAO7KFxg3aIde2WZoxRY5n8iTvkPWD6ae7af19gGs2U5wL1pqlb7vATmN8QSonx5XLXVjPyVasfJIf1nW+Ba33mU70TAoFUKQ31EI8OGo18K0lfzYdVI7hmDc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707051817; c=relaxed/simple; bh=lo/lRKSchpFgmgBMpdWzE5wDAxMBkriW7GDjqrwUQBI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=N9j8aY1NLk6Egyz3cvJi0T0M1kEx+K1k7N8VxMxGThwiqHQY9LeEwykx8M7cJK5lRHkPs65Syyt+EQW9I935TBpw+5htNPrBeqNtHUCi2+5tmisivMe2/0ZoZcWi4WJw/aC5rOZlsN7GZlK/eNgtJWC8z9JDJumOtODtnEr+nk8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=OZaTUHxJ; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707051816; x=1738587816; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lo/lRKSchpFgmgBMpdWzE5wDAxMBkriW7GDjqrwUQBI=; b=OZaTUHxJL258+Xvq8aF/ynJzesLRQqqdThJyjEtgjaZ5iU3D82GOPPkv Sv7PlnZeL50wA3ovw9wElf5RaU2z3VcptSClBom26qhasv+ooODwlBnkO RR4ZMf9nA+Kd/22y7OZujXwBO8zYQ9fUed4Hv2tLAhUMIEbI1OvzI6Hd7 fGGuL12zTEviWVPL1xvDUlbTVuL8p+c70wR/8+9l2U1LbS84CfSBFqt7D D6vdO4qbT3uJC9eY5y9a1XIXYyMkeEYozomi9Qu5Yva/WmQf+GIPKQKyu iZn3ndoo9QaT+mYRFPL7z/H7yMG5ZKNUzRP5dUHKRdn2mMKOI2c3haAyu A==; X-IronPort-AV: E=McAfee;i="6600,9927,10973"; a="4283230" X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="4283230" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2024 05:03:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,242,1701158400"; d="scan'208";a="37918235" Received: from spandruv-desk.jf.intel.com ([10.54.75.14]) by orviesa001.jf.intel.com with ESMTP; 04 Feb 2024 05:03:34 -0800 From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> To: jikos@kernel.org, jic23@kernel.org, lars@metafoo.de, Basavaraj.Natikar@amd.com Cc: linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Subject: [PATCH v4 0/4] Add support of color temperature and chromaticity Date: Sun, 4 Feb 2024 05:03:28 -0800 Message-Id: <20240204130332.2635760-1-srinivas.pandruvada@linux.intel.com> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789988706991462450 X-GMAIL-MSGID: 1789988706991462450 |
Series |
Add support of color temperature and chromaticity
|
|
Message
srinivas pandruvada
Feb. 4, 2024, 1:03 p.m. UTC
The original series submitted to 6.7 (before revert) is modified to solve regression issues on several platforms. There are two changes introduced before adding support for new features to allow dynamic addition of channels. v4: Addressed comments from Jonathan and Basavaraj v3: Addressed comments for v2, details in each patch. v2: New change to add channels dynamically Modified color temperature and chromaticity to skip in case of failures Basavaraj Natikar (2): iio: hid-sensor-als: Add light color temperature support iio: hid-sensor-als: Add light chromaticity support Srinivas Pandruvada (2): iio: hid-sensor-als: Assign channels dynamically iio: hid-sensor-als: Remove hardcoding of values for enums drivers/iio/light/hid-sensor-als.c | 123 ++++++++++++++++++++++++----- include/linux/hid-sensor-ids.h | 4 + 2 files changed, 109 insertions(+), 18 deletions(-)