Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3973897ybl; Mon, 26 Aug 2019 03:33:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+nqgIohq62pwXXVrvFHHOlFBdzuzCZ3v+DRvCffQm1rewRuKxv0wzDg8CVhQ7whwfklN4 X-Received: by 2002:a17:902:7083:: with SMTP id z3mr18289795plk.87.1566815605440; Mon, 26 Aug 2019 03:33:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566815605; cv=pass; d=google.com; s=arc-20160816; b=0raRlIgfghIl3OulnpENJI0Wj33SGZoRkwrLjhoOL1Y0CMRqhVYQZoynAtddP4rMDW /BvmOu0pbPm2lPagHc5QeUovoQcoEV+5PrEUKOlsemQ9+JLxSkde79CBLLmeBaJYVEQu aEtKRwTY/Q0CHmNtI2ZfYL+akinLMAZcjdZqWfJE4XYW7OGUfL9QkzZgk5zrIx4M/jKv LwlpPBh+SAtWILrEv1SC+B53dHczOM32I1IoLJWB5gU64PJ81H8fFufl1mUorTmiQr9e ba1aFaOikNJTtRiHMdZH8gIMyyfbbFrr6jakLoBa2mRDbewb5aP+GmgfQSYjpHHRtqfj z25A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=TbJKNDnN1GQx1AXa0LroQuByxnIAZttlWjC9hZTgh7M=; b=OqvdTNgGbsffp9tqPUkOUlbhD8cl4qisFHX/n0t6v4z1idqdgN6rtCPIE82mtMh+EY h2BWd0M+QXXEDoLtboHyk8MSm1CjVqfM7keH1gKNdbqy6RY3DNKcrorMJwE13jf1AFze MEJdxrMERUbD1OMekm7CimbONbjd0wGoJWcAv81vp4phsT0AHuJE1GAiAg+BPEFQod8k i9HrwQ7w/GygdmnNMUHvwfgBiyyWnPZDfMSgONjzd9+r3+wsp+E2VFKyQhRZix1Hd56S +bR5O3tqLei/V8ZKrz7djFK7y/4dYc6Umq/jKWwZYVj2FHNcpbd/gBGIG++O60COlMib kYDg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=om5iSzub; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si5430700pfm.66.2019.08.26.03.33.10; Mon, 26 Aug 2019 03:33:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector2-Synaptics-onmicrosoft-com header.b=om5iSzub; arc=pass (i=1 spf=pass spfdomain=synaptics.com dkim=pass dkdomain=synaptics.com dmarc=pass fromdomain=synaptics.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730385AbfHZKBD (ORCPT + 99 others); Mon, 26 Aug 2019 06:01:03 -0400 Received: from mail-eopbgr820049.outbound.protection.outlook.com ([40.107.82.49]:51332 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726820AbfHZKBC (ORCPT ); Mon, 26 Aug 2019 06:01:02 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XU9GfGMmeqtCNrfORXB/ZpjCK6/LoQVearsiqdMVRg0/Ir8aI+womPuiMKizi5jl7AnogECn/ZVaEcg1FqWOoa4LoJWOtMsAKz1jpx3G2Qm3ktoWSLiCCb/W5WXGcf5SIAs/dDKl03Zp53PbKLoj1RLaa18nMRq9hp2+XBMN3Q4zeaW0Q+Ju24CQwpI2rmjFEeR98tjQzCX/KPNVZQBE77ODJfSKaiRQYIlfHL75AORyPUAZIsmgtgwiHdR5HKwCLeZKFf5XYbb4PXlaLvxjPGHhRa2StZQ9WLQHPw94UfMX6cLfbzmQj6nHzJLn6/RGLt4tKvw6BaldsBC1D5QmKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TbJKNDnN1GQx1AXa0LroQuByxnIAZttlWjC9hZTgh7M=; b=JTyqm9dU1EwnFSxsHLV2oSg6hmxmI9HeD1JZaRkWgTCaAJc4vY0FdsVomFyl+4izZie6JQgOi9hyl/Os3xo/egb3SigRymIc75vuw/GpqcGXPs3qQe+QgIBxxobKf+QyPLFd6oAFcwGQ95Es5zzkl7wlfyAMY3sAWBvylVvu7EnaffY8oyYsE0N5U3wOr3e/bXk/aoQkakKgGQFiCyHFjifJWwR7IyL4CQoLnzGjHJhz4fiNS8FvkAr+sKoBmcAu2OqUd1XFIlqDkOqHgCl/sIjj3IC1AtvES7YVnmK0aqy65eq1yJf7SoEdg0PhjJ/nC/qj5N2IQTQ4db6xvgfvtg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synaptics.com; dmarc=pass action=none header.from=synaptics.com; dkim=pass header.d=synaptics.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector2-Synaptics-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TbJKNDnN1GQx1AXa0LroQuByxnIAZttlWjC9hZTgh7M=; b=om5iSzubm9D+OKHGctmvt0Cu+Xw1w16AHlngl4iBmwF7FAuwlsnfVBXcStlLwLr7HiAuNBC1hWcjAXhd+RhGuKt0YVhCTXs6v1du4KdIuCIbeGValu0DE7vLj8oLhkOOD5WwEv+9IVUat3k7cNAE5eKMMmCJy7/a7/Vqfi9GT1s= Received: from BYAPR03MB4773.namprd03.prod.outlook.com (20.179.92.152) by BYAPR03MB3589.namprd03.prod.outlook.com (52.135.213.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.19; Mon, 26 Aug 2019 10:00:59 +0000 Received: from BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::b050:60f8:d275:e9f4]) by BYAPR03MB4773.namprd03.prod.outlook.com ([fe80::b050:60f8:d275:e9f4%7]) with mapi id 15.20.2199.021; Mon, 26 Aug 2019 10:00:59 +0000 From: Jisheng Zhang To: Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland CC: "linux-hwmon@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH 0/2] hwmon: a new driver for Synaptics AS370 PVT sensor Thread-Topic: [PATCH 0/2] hwmon: a new driver for Synaptics AS370 PVT sensor Thread-Index: AQHVW/UpuKgnUYeviku4YwTMS3cUuw== Date: Mon, 26 Aug 2019 10:00:59 +0000 Message-ID: <20190826174942.2b28ff05@xhacker.debian> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [124.74.246.114] x-clientproxiedby: TYAPR01CA0115.jpnprd01.prod.outlook.com (2603:1096:404:2a::31) To BYAPR03MB4773.namprd03.prod.outlook.com (2603:10b6:a03:134::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 56ab9302-0a1a-466a-0b57-08d72a0c4b9b x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:BYAPR03MB3589; x-ms-traffictypediagnostic: BYAPR03MB3589: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1751; x-forefront-prvs: 01415BB535 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(366004)(39860400002)(136003)(346002)(396003)(199004)(189003)(14454004)(81166006)(71190400001)(81156014)(71200400001)(50226002)(486006)(316002)(7736002)(52116002)(25786009)(5660300002)(99286004)(476003)(2906002)(86362001)(6512007)(9686003)(66066001)(305945005)(4326008)(1076003)(6486002)(478600001)(256004)(186003)(8936002)(102836004)(6116002)(6436002)(66446008)(66556008)(64756008)(66476007)(26005)(66946007)(110136005)(8676002)(4744005)(6506007)(3846002)(53936002)(386003)(54906003)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR03MB3589;H:BYAPR03MB4773.namprd03.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: rpqoyWL4FLyNBAX+WHzf5XNe2xQjJ3yxV5hr6uf0SlSoG5Q9L6CaPSriYs2nzV5mRwaZZ2mMNgi93n/DlE57I8NHI4UT9XNvYfG5GyAPRdgvFbq3lGet5r9FHwlbeDprGKw6g089ugFUocogLyOLtV2LlVq3iAKCRN7tpXhgXqg6GNeRnCuBTDYZ3HLZu7n1kKcnHcxFpERvsHeAoCxm46pcbY/U8yW5mCFOYZGarzMh6eYQFJRzQhhHhIzXmR+KSU4k00oKqczHm3fFAQgalZGjVXZnJ3nmbaB2yd/uNGus+HfeEcVyZbkQJvWysfySOybiaRQqLbzGeOS6HYTZ6mMzE4D+ciNAdSNQDgugsXIajYTYLnyB41yuaERTSabKDSmAE3CALuX88697Y+e9EItA7LG1IVpZ8fzijvFpMIk= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-ID: <4D0CBE1D2191CE40B68239C6DFEC1C29@namprd03.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56ab9302-0a1a-466a-0b57-08d72a0c4b9b X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2019 10:00:59.6128 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: CWQTlQ/Dvpj7clw9sqgdMwhBwy9xhK9/fnnndKdqGndjfp5NByxgsxUo+28jAtVVEonlozW50Cap3aNtgUi5eQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR03MB3589 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a new driver for Synaptics AS370 PVT sensor. Currently only temperature is supported. Jisheng Zhang (2): hwmon: Add Synaptics AS370 PVT sensor driver hwmon: (as370-hwmon) Add DT bindings for Synaptics AS370 PVT .../devicetree/bindings/hwmon/as370.txt | 11 ++ drivers/hwmon/Kconfig | 10 ++ drivers/hwmon/Makefile | 1 + drivers/hwmon/as370-hwmon.c | 158 ++++++++++++++++++ 4 files changed, 180 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/as370.txt create mode 100644 drivers/hwmon/as370-hwmon.c --=20 2.23.0.rc1