Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5297195imm; Tue, 16 Oct 2018 08:10:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV61LmPsxfjTWfqh2E6BQVAGk+bC8OC517ylTaGqjUu4sHGQgt+kojUNWdALDn6E7/YVqlCfD X-Received: by 2002:a17:902:22a:: with SMTP id 39-v6mr22213704plc.267.1539702618342; Tue, 16 Oct 2018 08:10:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539702618; cv=none; d=google.com; s=arc-20160816; b=zycDUPhCB3ZZlo3TkDhivl5T/rBwpa3fa0IOPel5CQgRnQVJ/vRMxV9FulPnN4D+q2 66bp4eHDiZDE31mm3UYIqfCqr0ROitXQXAUDPdWh7Qf4+ekwR2TcOEuKsBKo33igXOnn LXMcOiiBHCDFi6uyyeeUY1FrScIavTFfUFN0Ygk0dItJ8RK3DnVufn9ZPQmVqipi0fwt qqjUJK0teWcR5ZCFDWBTKLBG8DSin5ZtOeoSZFU+dPo+eg9KyONlCjPFVkdcwrdTczLY eZn4OJzT12jqzLFnCQHjmnfHZZiXkDzW44TdSW8M6kQTuO5/1PBXnBAmsYWi/ujGqlHz Pk4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=sn0Ef0C1fs3/3LHdvz9gJImh4mNHUt/t4RFwuwe448I=; b=EEmKmOWEXA2l6ZvbcDo/lfPPvX/Jwv55J7u2WfkBJvsvAEP9e3AVAFvu9tYY+JAbCK 7psBzSy9LwVQKlntyBpVsofyTujrwnc1DCPw70Cb+wp9zXHXbEfqrkjr4zXz2MTeh2v+ QGc08UsVfcD3h6B4k6IT4wuBuPh9j0yG3TfnSmM3oajs4a8zjYWYQXa+durZGIfk2Tso RL3p/f0/Usx/hKCykx0TidtJ1p1m4r076BGChTR+dV/FMCA//X+RUA/lT74YcCZxM284 1g1HMyZDUTgAwwfNSz7UDvrZfUCw0bn0L8nLBJbYijehXaLd4hjWzalZ7gWi3Y5b7rTc v01g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="DrCc9G/c"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si14760052plk.263.2018.10.16.08.10.02; Tue, 16 Oct 2018 08:10:18 -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=@kernel.org header.s=default header.b="DrCc9G/c"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727188AbeJPXAV (ORCPT + 99 others); Tue, 16 Oct 2018 19:00:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:35940 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbeJPXAV (ORCPT ); Tue, 16 Oct 2018 19:00:21 -0400 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (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 70FC62145D; Tue, 16 Oct 2018 15:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539702567; bh=zQiimhACeZc2wBZ4js31PHh12+qee5/i8UMw+4x5dEs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DrCc9G/cND4C8CukMc/IYME6WCAUUTL/18kluwEoIRgqhIbtPJsOJ+XOoq/eEnJWM nSTZgu/JjoojesxG8HZeuUk8Odvel5YKxWWul7UEiyyMb2otXzGUEnP9S1JAexwU13 qiHcSGctm30hC9PzPdOip2Wq5ERMAo262PZ4R1nc= Received: by mail-wr1-f41.google.com with SMTP id 63-v6so25933612wra.11; Tue, 16 Oct 2018 08:09:27 -0700 (PDT) X-Gm-Message-State: ABuFfoiqzHQsF2uyDvgstZlRANlj7+unZTxjPdti2bQrhpCc6HQkUbAC NfsHlsO8TFVLlpMHAvGrxD0lG9kPqsJkOALUNt8= X-Received: by 2002:adf:e152:: with SMTP id f18-v6mr18032305wri.42.1539702565824; Tue, 16 Oct 2018 08:09:25 -0700 (PDT) MIME-Version: 1.0 References: <1539701782-26852-1-git-send-email-l.luba@partner.samsung.com> <20181016145647eucas1p206c068806214535da339588d77cbdfa5~eHqLYh2dR2135021350eucas1p2K@eucas1p2.samsung.com> In-Reply-To: <20181016145647eucas1p206c068806214535da339588d77cbdfa5~eHqLYh2dR2135021350eucas1p2K@eucas1p2.samsung.com> From: Krzysztof Kozlowski Date: Tue, 16 Oct 2018 17:09:14 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 06/11] DT: arm64: exynos: add support for thermal trip irq-mode To: l.luba@partner.samsung.com Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, corbet@lwn.net, =?UTF-8?B?QmFydMWCb21pZWogxbtvxYJuaWVya2lld2ljeg==?= , kgene@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Oct 2018 at 16:56, Lukasz Luba wrote: > Hi Lukasz, Thanks for patches. I did not receive the first patches in the series. It is okay (depends on the context) but in such case sending cover letter to all people is quite useful. It helps to understand the entire patchset. Since I did not get them, I really do not know: 1. Whether DTS patches are independent? 2. How this fits in the big picture of Exynos thermal? > This patch adds support for new flash which indicates What is "flash"? Please wrap your lines accordingly (75 characters like in submitting-patches.rst). Current wrapping makes it more difficult to read. > that trip point triggers irq when temperature is met. > Exynos5433 supports 8 trip point which will trigger irq. "Exynos5433 supports 8 trip points which trigger interrupt." (or IRQ but not irq) > Above that number other trip points should be registered > without 'irq-mode' flag. Why they should be registered without irq-mode? > That will force the thermal framework to start polling > the temperature sensor under configured conditions and > handle the trip point. How does it fit into existing polling mode? > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: devicetree@vger.kernel.org > Cc: linux-arm-kernel@lists.infradead.org > Signed-off-by: Lukasz Luba > --- > arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi | 105 ++++++++++++++++--------- > 1 file changed, 70 insertions(+), 35 deletions(-) > > diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi > index fe3a0b1..c4330f6 100644 > --- a/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi > +++ b/arch/arm64/boot/dts/exynos/exynos5433-tmu.dtsi > @@ -17,37 +17,44 @@ thermal-zones { > atlas0_alert_0: atlas0-alert-0 { > temperature = <65000>; /* millicelsius */ > hysteresis = <1000>; /* millicelsius */ > - type = "active"; > + type = "passive"; Change of active->passive looks irrelevant to this topic. Here and everywhere else. Best regards, Krzysztof