Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp766934ybz; Fri, 1 May 2020 08:11:10 -0700 (PDT) X-Google-Smtp-Source: APiQypKMreQ2zardz9elfiZs30h2aqliGZH7fEARMb5nh6fGBuSOI8QAPvQpIFoXvmmg1FOEwKeG X-Received: by 2002:a17:906:5601:: with SMTP id f1mr3583856ejq.152.1588345870137; Fri, 01 May 2020 08:11:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588345870; cv=none; d=google.com; s=arc-20160816; b=HaR3dRu9AF1Oj9gvf/NoZLWDlL/YttuDdMctF3Wykl52BLTbWR45U6A0sI70TS02cb AuUmY496F8nNLDli1wMeA/SK6rZ8gBm1eoPeTtaD3rKyr6hfnI1T74RzztCRnIxYTz3+ k6T7BrcJiUcZKHjvgjmKVeH3TwsHQsYYZEOuM9LLD12Mn0QEQCRFdIkOmJ9nIEpqctw1 5yECx84PA3yIP1R97UMDi3ttLMKRPXjYlQt5lunXb1QLcp2nCT0UPCF6OCjhRxG6q13x P2A70YTAv2hbZxQkmJTRZ2bAzPBr1zW1D7Pj7hbZmRgBbUi5YKeNiAKY2Rlr/G26t2Ab yLaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=AV5W+3OuwdlWUuZJO+FcXWEjBaCogkDjcoPGPugPkMo=; b=M/Y0eip9zknIkml9Ao9EyhdFTbg9LnB6Ls+I4d3Xsrz2Z7y2mzEjGEIHVdPBwGzZ40 k1Z0EsL/5pVMWyhqJXJs+EQ3bKhyyUHachcmEuKLFDfyNUV9a8i3zz+gfpfhdQo6jbuR bpAflqK1zq7JKJYQrXFfrcxVPw6l+Sn5TjQoUqk7pvDTSmJyn7QIJMx6GoI55UwMLwhA gAULwCIOnsnLxXidBm5PoNH0SGmkLppmYFt2W/HL/NlIZjph6iCBKm1pOCz8VSBu++CL 8+X3h/CoXxfOgPaV1TlFZbtV7yU1bNm/gE2SFnBEOr3+95jgjZM2EbMLb4kwR/alDBb0 VqeQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r20si2216051edv.435.2020.05.01.08.10.47; Fri, 01 May 2020 08:11:10 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729365AbgEAPJO (ORCPT + 99 others); Fri, 1 May 2020 11:09:14 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:50006 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729247AbgEAPJN (ORCPT ); Fri, 1 May 2020 11:09:13 -0400 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 041Ee3HG086746; Fri, 1 May 2020 11:08:36 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 30r8223ate-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 May 2020 11:08:36 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 041F6bDT029914; Fri, 1 May 2020 15:08:35 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma03dal.us.ibm.com with ESMTP id 30mcu8bm46-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 May 2020 15:08:35 +0000 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 041F8X7O12124654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 1 May 2020 15:08:33 GMT Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6EE6D7805C; Fri, 1 May 2020 15:08:34 +0000 (GMT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D67D57805E; Fri, 1 May 2020 15:08:33 +0000 (GMT) Received: from ghost4.ibm.com (unknown [9.211.128.179]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 1 May 2020 15:08:33 +0000 (GMT) From: Eddie James To: linux-kernel@vger.kernel.org Cc: linux-hwmon@vger.kernel.org, linux-fsi@lists.ozlabs.org, devicetree@vger.kernel.org, linux@roeck-us.net, jdelvare@suse.com, alistair@popple.id.au, joel@jms.id.au, jk@ozlabs.org, robh+dt@kernel.org, eajames@linux.ibm.com Subject: [PATCH 0/3] occ: Add support for P10 Date: Fri, 1 May 2020 10:08:30 -0500 Message-Id: <20200501150833.5251-1-eajames@linux.ibm.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-05-01_08:2020-04-30,2020-05-01 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 clxscore=1011 mlxscore=0 malwarescore=0 suspectscore=1 bulkscore=0 adultscore=0 priorityscore=1501 mlxlogscore=902 spamscore=0 lowpriorityscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2005010112 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The OCC in the P10 has a number of differences from the P9. Add some logic to handle the differences in accessing the OCC from the service processor, and support the new temperature sensor type. Eddie James (3): dt-bindings: fsi: Add P10 OCC device documentation fsi: occ: Add support for P10 hwmon: (occ) Add new temperature sensor type .../devicetree/bindings/fsi/ibm,p9-occ.txt | 12 +- drivers/fsi/fsi-occ.c | 126 +++++++++++++----- drivers/hwmon/occ/common.c | 75 +++++++++++ 3 files changed, 173 insertions(+), 40 deletions(-) -- 2.24.0