Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1051136pxk; Mon, 31 Aug 2020 08:30:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0IxU6H8EBDgCmXqiEbf6EMZ4cpfUHlus3j5kOzCwJS09yBfkOriS5NZbPNBnFOGU2vk3l X-Received: by 2002:a50:954d:: with SMTP id v13mr1742289eda.337.1598887834716; Mon, 31 Aug 2020 08:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598887834; cv=none; d=google.com; s=arc-20160816; b=F1NKUr0NvebPk+fDL6CCnZ6OoiGB6HGEwVzbcYVGCGMrWx8iQeIZ58U638fWVUJQ3g 7SeZKCuLUONKsDkQ/2pptc1dLAvsIIfA6KqJ2XwYrKsmUf+v0ndn740PTEleqPHVBOUI fM9fZaJL0kAgnlnGXcHHe+KygHAIHOVbgLZGUlw3puUF/wcn8p5dLwafRvC0vCtUBG+x EWXrCOqWiCefMgnVB+13LvhupPNkXixUdtEz0b/spOaI3iWjMDWB4E6FoZi52a/0L4Cx hK0F0ZrkTli+43RbLFck+AsV9lHjsa9CsndYbVMI+bkAwMO28+mteE8fFd2QU/0nBCFi SSyw== 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:dkim-signature; bh=rsnCoTH3onCWiZ0xBXGS12XsYG8BXexrxkWAlBxZsB0=; b=Ai2xRsE9go6vlVLvwjSzSOMJSH+jVbDvjZr+gHG7XmIzfhh+xnleCQcflK+u4Cc/Y5 Vp1q6pTfaNDArVWiWXICTOqaEMxZ2VF+0z54UCNXgKQFW5gC+FmY63SLavkXJ8nxlFQ5 y0asB4gnbP/3xSHPMuf7ik7ic3+e0CPaRmkCB9JbsylW+x4HH/AhEt6zuLacg31LOSyX sF3zUlsKaI0w5g8vydXi5d3q7EUrgLl3YLO722CM7ylHwEXL1CxET2GGizVGecwZCGxi HrnuAYe6REXv4Qc4Dgknq5IvBpAKCWyyjws5PXv41BmvSVHeJnj9gPcUHneXu3WIvlg4 2+yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=vCZnMO8H; 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 d14si4172140edp.136.2020.08.31.08.30.10; Mon, 31 Aug 2020 08:30:34 -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; dkim=pass header.i=@kernel.org header.s=default header.b=vCZnMO8H; 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 S1728211AbgHaP3h (ORCPT + 99 others); Mon, 31 Aug 2020 11:29:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:38144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbgHaP3h (ORCPT ); Mon, 31 Aug 2020 11:29:37 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2CA7420767; Mon, 31 Aug 2020 15:29:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598887777; bh=YMyeZdu9AK2XDZlChIpD6tD+lXjuHM/nRNxJfMP4bXk=; h=From:To:Cc:Subject:Date:From; b=vCZnMO8HXIRovZkJewNRE+4TpmdeD6vq1a1GUQuI6aMPEQufBwfs5v03GJm3NmBJY plOy3B9d8C8ZFFVP4Zc9RZqQZnvFav+EIIYRy7btgop1aN2IqYeBYeWlWFWFcNAELC eJ7cUnerNS73fWiwgQZKg9Ys4gc8t8CzSWNOcH2s= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Grant Peltier , Guenter Roeck , Sasha Levin , linux-hwmon@vger.kernel.org Subject: [PATCH AUTOSEL 5.8 01/42] hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_1 telemetry for RAA228228 Date: Mon, 31 Aug 2020 11:28:53 -0400 Message-Id: <20200831152934.1023912-1-sashal@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Grant Peltier [ Upstream commit 51fb91ed5a6fa855a74731610cd5435d83d6e17f ] Per the RAA228228 datasheet, READ_TEMPERATURE_1 is not a supported PMBus command. Signed-off-by: Grant Peltier Signed-off-by: Guenter Roeck Signed-off-by: Sasha Levin --- drivers/hwmon/pmbus/isl68137.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/pmbus/isl68137.c b/drivers/hwmon/pmbus/isl68137.c index 0c622711ef7e0..58aa95a3c010c 100644 --- a/drivers/hwmon/pmbus/isl68137.c +++ b/drivers/hwmon/pmbus/isl68137.c @@ -67,6 +67,7 @@ enum variants { raa_dmpvr1_2rail, raa_dmpvr2_1rail, raa_dmpvr2_2rail, + raa_dmpvr2_2rail_nontc, raa_dmpvr2_3rail, raa_dmpvr2_hv, }; @@ -241,6 +242,10 @@ static int isl68137_probe(struct i2c_client *client, info->pages = 1; info->read_word_data = raa_dmpvr2_read_word_data; break; + case raa_dmpvr2_2rail_nontc: + info->func[0] &= ~PMBUS_HAVE_TEMP; + info->func[1] &= ~PMBUS_HAVE_TEMP; + fallthrough; case raa_dmpvr2_2rail: info->pages = 2; info->read_word_data = raa_dmpvr2_read_word_data; @@ -304,7 +309,7 @@ static const struct i2c_device_id raa_dmpvr_id[] = { {"raa228000", raa_dmpvr2_hv}, {"raa228004", raa_dmpvr2_hv}, {"raa228006", raa_dmpvr2_hv}, - {"raa228228", raa_dmpvr2_2rail}, + {"raa228228", raa_dmpvr2_2rail_nontc}, {"raa229001", raa_dmpvr2_2rail}, {"raa229004", raa_dmpvr2_2rail}, {} -- 2.25.1