From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-189.mta1.migadu.com (out-189.mta1.migadu.com [95.215.58.189]) (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 DCEF42FE56F for ; Fri, 22 Aug 2025 13:24:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755869052; cv=none; b=Rhznc935tONWwbg6ommW8imzfHVKZ1K1sB+AaC1CSQZXCUPYrIpN/DL/aNIaYf5g2umo6xiwj36cmipZF5RqQ2XCbmgA+8lx+Ba3ZOYHoxk1xwNJ4jBSMVoTOmpLfaKX2ZbqxJfjTaQ43Mwl55fSSJVLV5MR64EDNkM7A1eyMNM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755869052; c=relaxed/simple; bh=isJP0LwpNltVD4ln3oiGLB/8LCrIVyDtABbKd8g4b8A=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=JHAvJDt5xYftrMuJTnlb9zT55dWeJS3rnc3hKLWoRNY6rqou80vZxppGGZh8HB8hayq2VytmvM7vdSAZJl1VaOIVnYViM9wbBkEf5s8RPcy0Nj/hkwmMhPsnpjpReuDJfDM/tTFbKfkWBwKY9k60J4nezY0RYPhX+RRsCvJGEYU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=watter.com; spf=pass smtp.mailfrom=linux.dev; arc=none smtp.client-ip=95.215.58.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=watter.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Ben Collins Subject: [PATCH v8 0/5] iio: mcp9600: Features and improvements Date: Fri, 22 Aug 2025 09:23:49 -0400 Message-Id: <20250822-upstream-changes-v8-0-40bb1739e3e2@watter.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAGVvqGgC/32NQQ6CMBBFr2K6dgyC0sGV9zAshjqVJlDItKCGc Hcr7l2+//PyFhVYHAd12S1KeHbBDT4B7nfKtOQfDO6eWOVZfs7wWME0hihMPfzuAAYrsljqU2F JJa2hwNAIedMm0U9dl8ZR2LrX1rnViVsX4iDvLTvr7/qnMGvIAJGKgkijLen6pBhZDmboVb2u6 wcmeszDxgAAAA== X-Change-ID: 20250819-upstream-changes-c89af86743fa To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Hepp Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ben Collins , Krzysztof Kozlowski , Andy Shevchenko X-Migadu-Flow: FLOW_OUT ChangeLog: v7 -> v8: - Style changes in dt-bindings example - Simplify some return value checks - Move assignment to where it's checked - Speeling v6 -> v7: - Separate out the mcp9600 IIR series into its own series as there is a lot of conversation around implementation (removed related comments from this changelog). v5 -> v6: - Fix accidental typo added in dt-bindings: IRQ_TYPE_EDGE_RISIN - Correct some constraints in dt-bindings - Reverse if/then for mcp9601 vs mcp9600 constraints in dt-bindings - Updates to changelog for patch 2/6 (dt-bindings mcp9600) - Cleanup tabs that were converted to spaces - Split thermocouple-type default to separate patch v4 -> v5: - None v3 -> v4: - Based on feedback from David Lechner * Allow fallback compatible in dt-bindings for mcp9601. - Based on feedback from Jonathan Cameron * Be explicit in patch description for fixed width changes. * Check chip_info for NULL to quiet warnings from kernel-test-robot * Remove "and similar" for long description of MCP9600. - Set default 3 for thermocouple in dt-binding - Rework open/short circuit in dt-bindings v2 -> v3: - Improve changelogs in each patch - Based on feedback from Andy Shevchenko * Set register offsets to fixed width * Fix typos * Future-proof Kconfig changes * Convert to using chip_info paradigm * Verbiage: dt -> firmware description * Use proper specifiers and drop castings * Fix register offset to be fixed-width * u8 for cfg var * Fix % type for u32 to be %u * Make blank lines consistent between case statements v1 -> v2: - Break into individual patches v1: - Initial patch to enable IIR and thermocouple-type - Recognize mcp9601 Signed-off-by: Ben Collins --- - Link to v7: https://lore.kernel.org/r/20250819-upstream-changes-v7-0-88a33aa78f6a@watter.com --- Ben Collins (5): dt-bindings: iio: mcp9600: Set default 3 for thermocouple-type dt-bindings: iio: mcp9600: Add microchip,mcp9601 and add constraints iio: mcp9600: White space and fixed width cleanup iio: mcp9600: Recognize chip id for mcp9601 iio: mcp9600: Add support for thermocouple-type .../iio/temperature/microchip,mcp9600.yaml | 57 +++++++- drivers/iio/temperature/Kconfig | 8 +- drivers/iio/temperature/mcp9600.c | 151 +++++++++++++++++---- 3 files changed, 187 insertions(+), 29 deletions(-) --- base-commit: c17b750b3ad9f45f2b6f7e6f7f4679844244f0b9 change-id: 20250819-upstream-changes-c89af86743fa Best regards, -- Ben Collins