Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13698000pxu; Mon, 4 Jan 2021 01:47:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZAKVGCnhL5ojAG6ab/9wzHqOCbq8RD8AxI2kcwS3O+3sBlZTUxFLU1vZd65iKbnIQFhjt X-Received: by 2002:a17:906:4fcd:: with SMTP id i13mr2905048ejw.455.1609753663159; Mon, 04 Jan 2021 01:47:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609753663; cv=none; d=google.com; s=arc-20160816; b=N6a/+k4dl+XtAPJuCPMf6wYyCBmD2mD7U+XM4Mr89T1KHNFlfq4snV8jzmmWQWCJ+I VDlBEcJv007uvZuO1k7t7LrWLNwohrzxShu+RATunTfBFgvnaDfKxvAxBQv2pD8Mt7lP yAEFXgY6lsSn+Uiw3IW00E3Av7qDGKmQEIJXKmpk1VAY8M8Ec4Ve85lCcqFX93DdgdOG Coo2K2A0Y2zqoWG9kxUOJEGkUXNqZi7hYHlcT3eRZTt6nw+FTPlYaOtfUKn1RDl2aqob skfXwJawNmWTKuhR3d54AhCeRTIJ9/R2Lm81TadH8q1mrprQIPw6jnF9QdaFTdJxjDuT meNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=XL9IaUqh7hHt/dvyG1+EvDfTmmOlO3LE+klTaqgIODA=; b=int8AELscrQT2O0tA5HHqToV7cmwJfUBlI9ScG5C/4ETDgicbWsBmtjLiuJMdtTYAy DCQ/zkz4C0GaolW8aqFK+g83oQ+yLLsKiVZQFay68PxZ8MaAvfZMKkuLD8NiUXAwwbhD 5EsNWzVPLJxg3MDCPRwckvsfDUbf3hZ5nLZVYGaVtwHCYSc5ls9bffUYmf3KdSOjI51/ Dc4H9AdjGCCAxyiqAiBDGFJ6vlVtCREYHDixcw3LbiZ0Y+hIFKxGh93yf0B5iJeiyY/u HILxzbXB5v/uHICBVxlXSbBAjZVfxEl1Cg57PLaeyBNK2zmjpmIG/y4ugnLlLBTOxo7G 9Cwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vu0het6H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j5si31795845edj.409.2021.01.04.01.47.20; Mon, 04 Jan 2021 01:47:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vu0het6H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726246AbhADJqi (ORCPT + 99 others); Mon, 4 Jan 2021 04:46:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:43476 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726173AbhADJqi (ORCPT ); Mon, 4 Jan 2021 04:46:38 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8CCD021D7F; Mon, 4 Jan 2021 09:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609753557; bh=xhcxGU73opBaxA6SLb2C6H6HREW/m2aBOHhnWIGGbBc=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Vu0het6HhXFKFPLHYqh3DCPGfnocBX8WWdqpP99S1NG0TfJOsj57NyJV2EccbvsZ0 DeLkCbm5AH4MTGxdd2OcpHEK4red+ekp5IDDjuBMXG9Ae4K7EnLPW2UQnh0U7+xbjv FLWEUcFtwjQzClFws3vpAwcqcxXoGCpgTn20OCrZFE1bcxMZQh2uI4Fk6U8ejt/agi T6Dp8xXuK8/nfHB2TaR9COhBLv1xIjj0d1huqJj9fU56MVS7IUlcquOizMfQbA2az6 lAAEXaku4525xfpcZlb0EpTX7VHbZu76Uv1M/uy8RQPNVGBPiHpAPoWAi/RXPrJZBU zyCyVBiPB+adg== Date: Mon, 4 Jan 2021 10:45:54 +0100 (CET) From: Jiri Kosina To: Ye Xiang cc: jic23@kernel.org, srinivas.pandruvada@linux.intel.com, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/3] HID: hid-sensor-custom: Add custom sensor iio support In-Reply-To: <20201215054444.9324-2-xiang.ye@intel.com> Message-ID: References: <20201215054444.9324-1-xiang.ye@intel.com> <20201215054444.9324-2-xiang.ye@intel.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 15 Dec 2020, Ye Xiang wrote: > Currently custom sensors properties are not decoded and it is up to > user space to interpret. > > Some manufacturers already standardized the meaning of some custom sensors. > They can be presented as a proper IIO sensor. We can identify these sensors > based on manufacturer and serial number property in the report. > > This change is identifying hinge sensor when the manufacturer is "INTEL". > This creates a platform device so that a sensor driver can be loaded to > process these sensors. > > Signed-off-by: Ye Xiang Acked-by: Jiri Kosina Jonathan, feel free to take this with the rest through your tree. Thanks, -- Jiri Kosina SUSE Labs