Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3198179imd; Mon, 29 Oct 2018 03:24:47 -0700 (PDT) X-Google-Smtp-Source: AJdET5ePaPQdNmmR0kC3JK7kLFk/ge2ycX4YWHKdYWhy1pk7RKj7LxWsdx+uy5rbS+9l6xiabYdl X-Received: by 2002:a17:902:da4:: with SMTP id 33-v6mr13968367plv.131.1540808687365; Mon, 29 Oct 2018 03:24:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540808687; cv=none; d=google.com; s=arc-20160816; b=GtCkpUrOg9JNt43S6DX24E0iOgmjnswv28iTFRl3ix4t8SkIt4dNkJlwEHnyVOqq8z 60G9xWcmf7FkQN96/9Zv/vYH+YSwuDcPDXAKs6Wo/wMOU5tvnwy10275IjrEurcn0Glu 2Wd+ywo2xczt50bJ6E3X5GScL/oMIC7G4VhB81UHqvFXw2cWDDelQZVXaGRVwjw7U/0E qVqKo7l417sU79vHMTCrkTI+xyjZLZmrpwtOYe/wonhAMhtj4OspW7drFTj7UbdAyPUg yzZExGN7Lx2I6NUJZ9PfuN8KFw7hE+jHfBl4YR/tVB3CDukrp4YCftMuiJJ95RH9EZL9 rQBQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=78/LbgHWSj19fwf6QFJ3yiqXolHVngkl8Abx0aGyBHE=; b=M5QMiY88w48JaFRPhWWYE06BosU1+tHBF+RKM6bxno+W/S058BcEJ5GKAyomYWm8wP 5YtwV/R6L4vaJ/TA8C/3JYU5rn1oNkXApsXQiBs1p7DQqaZ0nT0uMzhHcKEogTMhh309 a7/rnBCHE3CY5r5/tn7trt27CX0MctUvXFXC6CItjbXVr8ymHrCXlfjjJdxXvO9zeXtC 5eYOfpcqfA10xcIFS8urXm8QAwHofyvrHoKxwnBhIfUKwGhIeHhZ9dly/IkcS5gi+E+X B4GtT18oO3T89VlGYKG0UKiy0hj64Yz2588fg+70H6E1ah0tmUP2rluaaBhrTkOrz2TY CX8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=T+Pg1N6p; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8-v6si16808215pgl.297.2018.10.29.03.24.30; Mon, 29 Oct 2018 03:24:47 -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=@linaro.org header.s=google header.b=T+Pg1N6p; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729633AbeJ2TMM (ORCPT + 99 others); Mon, 29 Oct 2018 15:12:12 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53301 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729487AbeJ2TMM (ORCPT ); Mon, 29 Oct 2018 15:12:12 -0400 Received: by mail-wm1-f66.google.com with SMTP id l26-v6so7604051wmh.3 for ; Mon, 29 Oct 2018 03:24:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=78/LbgHWSj19fwf6QFJ3yiqXolHVngkl8Abx0aGyBHE=; b=T+Pg1N6pitNSeyZKberM+TcNAnmorqu6Y288rmS2GilUqaVu6d7rOYsfU/VUZDCInn FoJnKpbTzSXaU1rq05rzQEhmvMSoynnrdYt7lYDd+kb5OumlvkCakX7PCIozDdPYI0or FW78cu0FX4bZOe+gauvJslO09fkfUdJX+GIgM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=78/LbgHWSj19fwf6QFJ3yiqXolHVngkl8Abx0aGyBHE=; b=K9+FmuL6/Fw53jv2AGWQ+RFtHn/0HKiNCccLmno7wguEjWoD3RueRY8y/o8Rah+1nw QsvmpTZnewDCvAa3c1plOUGdnGKymYJ7JXfIZdTtWPFpIYHiCFKuY15maE3nNFKFCrnS 35roo+nzt0JPFLZi5Ya2NZ4+fG6HvhNaHDvuc5I8aCLBZqklAGFbj/bRbGipn3NK7Mn/ qN5wQXcY6H3kkrP1BNREraHKeVzG19gQrLiudQeLl+ugUnsbIqJb1bQtyvd4vPQ+Qbtg etPpJVSNcv5BB9TvgMYM6AGhHDY8P6zwG8jJDsozm7hsJSEwa74Gc7TxVIYX7aYbEVRs iXqw== X-Gm-Message-State: AGRZ1gLiWxfRGJAz96tTVCKs/l/YPZqSJPdhLxu7+r8h40K9jYXaK2uB J/UxstCBTlavWllHYUt0paxDo8Qg1Ns= X-Received: by 2002:a1c:3c4:: with SMTP id 187-v6mr12932280wmd.90.1540808647718; Mon, 29 Oct 2018 03:24:07 -0700 (PDT) Received: from [192.168.0.40] (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.googlemail.com with ESMTPSA id 64-v6sm26753027wrr.64.2018.10.29.03.24.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 03:24:06 -0700 (PDT) Subject: Re: [PATCH v2] thermal: qoriq: add multiple sensors support To: andy.tang@nxp.com, rui.zhang@intel.com Cc: edubezval@gmail.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20181029093119.33971-1-andy.tang@nxp.com> From: Daniel Lezcano Message-ID: <27f5210f-d305-3d04-8fff-722623cb065c@linaro.org> Date: Mon, 29 Oct 2018 11:24:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181029093119.33971-1-andy.tang@nxp.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/10/2018 10:31, andy.tang@nxp.com wrote: > From: Yuantian Tang > > The QorIQ Layerscape SoC has several thermal sensors but the current > driver only supports one. > > Massage the code to be sensor oriented and allow the support for > multiple sensors. > > Signed-off-by: Yuantian Tang > --- With the fix below: Reviewed-by: Daniel Lezcano Thanks! [ ... ] > + ret = qoriq_tmu_register_tmu_zone(pdev); > + if (ret < 0) { > + dev_err(&pdev->dev, "Failed to register sensors\n"); > + ret = -ENODEV; > + goto err_iomap; > if (ret) { dev_err(&pdev->dev, "Failed to register sensors\n"); goto err_iomap; } -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog