From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EEF023A570 for ; Mon, 13 Jan 2025 09:25:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736760361; cv=none; b=q2xOOFbvR+r59GRxAuVp2/GEL+FuhGnelvNLUawPQi5lP09kmFGo7g9tBArztjZWZeIGznkYA+KikWRJIRYFYlMjpqugFRJtyM7N1HX5rTIYxTaYomCdSsyzO+KVUmAQn/3hlaNyZV7IKbrmX13lerlKXYPiPqtR4eiFEQ31yUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736760361; c=relaxed/simple; bh=LzhQ97fHILTYwmA3VvX34lCCeJsGHBrrga3Q8maQrXM=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=Bq6iWmFrynFqYt90xwDh9C4mEoT6hFjFBgDHzYi6xVtTHFXgyMIsRLD5Mkx0GDsTSxYBp1IKqthWLXcnI7Fg1TjhLbC/DolJFj0DLtpIU5kyPqvtyrIb5p0CCPfvz+ctt5obVo6XaPP17NTiIItMobsJ52tgsnScD5Ycp/qeCeA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=oIT55bXS; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oIT55bXS" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4361c705434so28382185e9.3 for ; Mon, 13 Jan 2025 01:25:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1736760358; x=1737365158; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=1oTNvOqfukHrgIuovSK0uBo5g5AB7kI/WzXWHrElV1A=; b=oIT55bXSjBZ4i4nZ/u4nxOIIJAH6KZ+MUS9iHKW4dojKQ54ytHKXHSaBLizrI82f1W TU7bUu4U+Mz7jXg3sALsUrovvUKtuzF/AscPs1JjAKo+d3w9Vyb75pIPQsSx0wLqNW7O L3ybu+mWGJwGVbwDzgZGkg37QYrKqjBZD8m4WoTXpYiDHtpwb4KOOhGXezofsDF/G+rK jE5YHrY4bgkiG+IOGUqXzmoMzI4oUiV9KqmNxvZbAKvv3+Zlou+Nl4IPC9lTaAAejKA1 yoazC1HrYhdytEnz4MjdblaEDbq/S5zwm0xHTytpzvoHaxIl7V6r6wG+FwI6UlxqMLFA +bBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736760358; x=1737365158; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1oTNvOqfukHrgIuovSK0uBo5g5AB7kI/WzXWHrElV1A=; b=MzvW+i8Wbbytxrj4vodmcETMdDPL+0rQ5dESgxKaXB6s91smiYY1oFjIBnSR2e7ElB E50VUa6iVhiKs+YIIjWRmdcU/1SbCQfISiCK//M/muNH3AA/YSj04PSeforlEmC/o3zv Y+GUAfzIU2ulXwRSJiWSQJ8CmhzTcTcwjGa9Xbg71T6dJRDjPr7RwZWRde2sM2EDswB7 WeqnsmNCd+Lq5C7VEULqmrqdMomXRX2iNlCTfma4uof40qf23dzuKgQS+e2QwEuHkiBB hvpvtv5yfTHWZjyQ1HiuJPv6pIzs/Qzb2YcNYgW1mah08t2sLTwNebIXLyPv8F40ss/b BRqw== X-Forwarded-Encrypted: i=1; AJvYcCVYMh2zCzUbml8br+AapQ53ybJ+6OAUqn4vjbe+dDTcGQqg+hCPezMMGFIhs1Dg8S9h5l2CPk5o/HVXcCk=@vger.kernel.org X-Gm-Message-State: AOJu0Yw3bWM9Dvuancrn1O6kaV8pTbL0coifUuSGD08pWQvKs1HQEwKA P9c9gZfbBs/ser0moHMHcBi3VbrvRLARbF8hoG415+CfSa8PZPCtqvmQL25VpgU= X-Gm-Gg: ASbGnct1waYhKO0EjNELyYvtnliJFSM7nfq41Kql635Wf8BuItlZ/ff8j0eoH1TdVqM 1Umcz3lehCVEnElWkTztcLNaajCwJDERB5b10rT9b0z/UWJb64+zPuKgEiFwRGRy564FrfqTnJj ujTmAoKnLz8uvPoHhlFEPplD61muhecxXfsAy0ulKytG7jPYGHh0zXA4zxk7OWgbYHpgRXa9zec p9L2R37OX781kTbYrzZ2rO+X8Awly8fKgPGBJ1AR88JUnHgCTVhTrmtLtqMj/iIQfvn5OnIxh9u XoGMNBYMCW9NGMTjCNBs X-Google-Smtp-Source: AGHT+IGrBvoo7a9T5ollC4Kafzr+5dvI/yM48bSNQ9PzhCKzvzS2+NRcCKfJfrFmUMRa61h//DtHbg== X-Received: by 2002:a5d:47a6:0:b0:385:d7a7:ad60 with SMTP id ffacd0b85a97d-38a872f6a32mr16896203f8f.3.1736760357235; Mon, 13 Jan 2025 01:25:57 -0800 (PST) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-436e9e03e5fsm136289565e9.18.2025.01.13.01.25.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Jan 2025 01:25:56 -0800 (PST) Message-ID: Date: Mon, 13 Jan 2025 10:25:55 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RESEND PATCH v4 2/2] thermal: Add support for Airoha EN7581 thermal sensor To: Christian Marangi , "Rafael J. Wysocki" , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, upstream@airoha.com References: <20241218073016.2200-1-ansuelsmth@gmail.com> <20241218073016.2200-2-ansuelsmth@gmail.com> Content-Language: en-US From: Daniel Lezcano In-Reply-To: <20241218073016.2200-2-ansuelsmth@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 18/12/2024 08:29, Christian Marangi wrote: > Add support for Airoha EN7581 thermal sensor. This provide support for > reading the CPU or SoC Package sensor and to setup trip points for hot > and critical condition. An interrupt is fired to react on this and > doesn't require passive poll to read the temperature. > > The thermal regs provide a way to read the ADC value from an external > register placed in the Chip SCU regs. Monitor will read this value and > fire an interrupt if the trip condition configured is reached. > > Signed-off-by: Christian Marangi > --- Sorry fpr the delay, this month has been complicate for patch review. I'm reviewing it now -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog