From patchwork Thu Sep 30 11:05:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12527985 X-Patchwork-Delegate: daniel.lezcano@linaro.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90187C433F5 for ; Thu, 30 Sep 2021 11:05:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6FE076134F for ; Thu, 30 Sep 2021 11:05:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350317AbhI3LHR (ORCPT ); Thu, 30 Sep 2021 07:07:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350306AbhI3LHH (ORCPT ); Thu, 30 Sep 2021 07:07:07 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50DE8C06176A; Thu, 30 Sep 2021 04:05:25 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id b26so20760344edt.0; Thu, 30 Sep 2021 04:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sSpzj10NGw5X39ToW4lUkS6X+YqxdosdM3EBUsNMyqE=; b=LPlqikM6FebZsUtylYpczSVr+YHzTDbcal/pi6IWk07MZKbRU9C5YLjIxL/17xcGnV NzmQ50PXQiIENZtzaL7KooG4GeCMHaujZLuu1LLbmtnZXZNqIcBS8xUtdH33GpRBAtHH Vn6nzrq0HstuoBkQO6BaxWTkBCsEvxbtgmU+Ul0S+mI9OTSJiw9fotL81VHgkbHgUgnF 2mK9CGS8fgQD9kM7voI3LWd0Z+iiW+QgDmq1SlKjuqYriq4yloLW2EkfvenucR3YJle6 YtLyjQAO8h5BedNWD2vnHyLzkv6nKNbKup74M7/INJDA54wedVNiJsBKgmq8SJzpglBI SdpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sSpzj10NGw5X39ToW4lUkS6X+YqxdosdM3EBUsNMyqE=; b=PRgfZE2GVyyhTnxJ8Ipx1vtI2Ei26UcOILZ9BOuS2NcA3USVxUEFfUs2xQcOZecYLQ P7FlOSoH6HrQDYxRvnuD/eUxy6sPHnYvSpWl42mPA9iZJKH/25OHz3uhLiVXL/smVPwD zAixL9Y7vVjqT0K3usT+RqO4xEEbvyHiTj+H/gyHgxuf+5PMwTocXilKAUXFESwNv1wP RNHP5k1JIvtwL3J7r3oicSE6OIWiT5NgZl1AhzhvkWWxgQJmny6MC0W/cKbnBjG+3XqG lDYt4pb7HBJIHXicWg2ihu/k9sObSzz6omEaHhZD8s2dEEJhL5bz5BlsLCasPFUBFXDI mdiQ== X-Gm-Message-State: AOAM530Fj4sZPPun6ysUBti5U6PHpoh/L4rG/Vwr1Y3aVnsUux581GFi Zaw0EBEpZ+SApv+fA1+ftsI= X-Google-Smtp-Source: ABdhPJz8KFn48cKcsMX/5FRkZiP6w85uVojtvApZQzdqqfzyK4K6D+Wg1oWR9meEf8ZSCfh08OwqUQ== X-Received: by 2002:a50:d989:: with SMTP id w9mr6590475edj.99.1632999923922; Thu, 30 Sep 2021 04:05:23 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id i2sm1305158edv.7.2021.09.30.04.05.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 04:05:23 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/4] dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml Date: Thu, 30 Sep 2021 13:05:14 +0200 Message-Id: <20210930110517.14323-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The tsadc node in rk356x.dtsi has more resets defined then currently allowed by rockchip-thermal.yaml, so fix that in the documentation. The driver now uses the devm_reset_control_array_get() function, so reset-names is no longer required, but keep it for legacy reasons. Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- Changed V2: Remove deprecated --- .../devicetree/bindings/thermal/rockchip-thermal.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml index b96ea277b..3c074706e 100644 --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml @@ -37,11 +37,15 @@ properties: - const: apb_pclk resets: - maxItems: 1 + minItems: 1 + maxItems: 3 reset-names: + minItems: 1 items: - const: tsadc-apb + - const: tsadc + - const: tsadc-phy "#thermal-sensor-cells": const: 1 @@ -71,7 +75,6 @@ required: - clocks - clock-names - resets - - reset-names - "#thermal-sensor-cells" additionalProperties: false From patchwork Thu Sep 30 11:05:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12527989 X-Patchwork-Delegate: daniel.lezcano@linaro.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDB32C43217 for ; Thu, 30 Sep 2021 11:05:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C55716134F for ; Thu, 30 Sep 2021 11:05:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350315AbhI3LHS (ORCPT ); Thu, 30 Sep 2021 07:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350310AbhI3LHI (ORCPT ); Thu, 30 Sep 2021 07:07:08 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33C74C06176C; Thu, 30 Sep 2021 04:05:26 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id g8so20784698edt.7; Thu, 30 Sep 2021 04:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YBgiYM1YMUTaur/C3QVNo5tGNXLvclq4l1ZtgjUpd4g=; b=YBqn7GnDNNqpPZm/pAsrfEWR6oNufq3gED9cMWzTOQCUB+JOr2+U09kMI4xKWxRnz8 TUE5Nf/xPHO58TzitUkyR1OQFJhhofIcsT9WSupMX4hnXBFc+MkEsZxX7bd2JEBzvx4p vYniaazUeh33JUWXas+vd/VGfciosUEiWR+tDQMbx+P55FZKBBL1MKpxyCIDwaCFRK5D VOSaLqQ816WFVm3HV6mZ6VaRIJn3dyprPKNJyYtwpY24Q9mwNBoOtPdzzNqMJSRCBXDr 5P/MD57OedkY+KxKMJdRP2EqZyuybxESuY9B9LhoaBHaY67qB6hNYIlPwNyJgXpqS07L de9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YBgiYM1YMUTaur/C3QVNo5tGNXLvclq4l1ZtgjUpd4g=; b=ONISd4hGauGMqB5v5iOvVKkHBl5isMWc/6ziMIbMuHU7K29BQfxVnLT0ztiKwAon2a QEC7lV1ch4Zm7XRqUhDls4doe4eHcJPG/L1Tnf72alstC6u5J6KVSZzxlZHpVl/m+oNq uxD86SUK383OgZMZFwkQlrm8vM19JSuxdkdRvlM2VH15BD8oqstFHWMXCj6M71dOrnun FDqZKvbakit6PvsZKCj3vU1PY3oXnscZ7PkU5bR0FCroYv7UWUCfHtL65FI914KQiL7o 2qJkUMM9CR6H/15O0FeV0s81BFqBX9W5+4UqFTmlmaJgd3OPJU3oWjHZyS6/Xsy3k27Q oDDQ== X-Gm-Message-State: AOAM532lrDZfdCbnh2k5NSFjGvNbMxfQPpzToIsj6paWgeJedUCzZbGP CdU+3b/xeoFulUc5spL0uxg= X-Google-Smtp-Source: ABdhPJxQcP1chqO/WvyPc81rUAxaSYZBidr29l5CD+EWy0vjVJQ+473yq6yGDaVGnNZoGeer4Kzi9w== X-Received: by 2002:a05:6402:1d9c:: with SMTP id dk28mr1144800edb.241.1632999924775; Thu, 30 Sep 2021 04:05:24 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id i2sm1305158edv.7.2021.09.30.04.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 04:05:24 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/4] dt-bindings: thermal: remove redundant comments from rockchip-thermal.yaml Date: Thu, 30 Sep 2021 13:05:15 +0200 Message-Id: <20210930110517.14323-2-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210930110517.14323-1-jbx6244@gmail.com> References: <20210930110517.14323-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Remove redundent comments from rockchip-thermal.yaml Sort compatibles in alphabetical order. Signed-off-by: Johan Jonker Reviewed-by: Rob Herring --- .../bindings/thermal/rockchip-thermal.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml index 3c074706e..f6c1be226 100644 --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.yaml @@ -12,14 +12,14 @@ maintainers: properties: compatible: enum: - - rockchip,px30-tsadc # PX30 SoCs - - rockchip,rv1108-tsadc # RV1108 SoCs - - rockchip,rk3228-tsadc # RK3228 SoCs - - rockchip,rk3288-tsadc # RK3288 SoCs - - rockchip,rk3328-tsadc # RK3328 SoCs - - rockchip,rk3368-tsadc # RK3368 SoCs - - rockchip,rk3399-tsadc # RK3399 SoCs - - rockchip,rk3568-tsadc # RK3568 SoCs + - rockchip,px30-tsadc + - rockchip,rk3228-tsadc + - rockchip,rk3288-tsadc + - rockchip,rk3328-tsadc + - rockchip,rk3368-tsadc + - rockchip,rk3399-tsadc + - rockchip,rk3568-tsadc + - rockchip,rv1108-tsadc reg: maxItems: 1 From patchwork Thu Sep 30 11:05:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12527987 X-Patchwork-Delegate: daniel.lezcano@linaro.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10C3CC433FE for ; Thu, 30 Sep 2021 11:05:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E46EF615E5 for ; Thu, 30 Sep 2021 11:05:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350319AbhI3LHS (ORCPT ); Thu, 30 Sep 2021 07:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350289AbhI3LHJ (ORCPT ); Thu, 30 Sep 2021 07:07:09 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE4FBC06176D; Thu, 30 Sep 2021 04:05:26 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id r18so20352221edv.12; Thu, 30 Sep 2021 04:05:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J5rWzfawpu0XOsLyVwwYFgYCCr8KgHSAplCrfWcEUCc=; b=YIAyiuXj/TtHZgfD2uNj3qmZAlvslgwfgTNImQjcTdmg+Y0ntcaFbzPyE9bkbxkgAN M1ASIms+oiGJu6DgPXnYDYGFcGuhw7XKUf/d8oW8XpG/uj+r23Klbf55Ztl73wo08hoT U72PM3uKbn25ZloGgWDhNv6s1jnsujztSXFgPaxIhjHWwkFwfLSSyY+VYTKsYm1YFXsT soB47kM8dNuT5XZaQzy1oP6v2YzhJtjW6ei2LLj71QUvIkxzfF1QOtqOLuR7m5hPmGNv +rREb7AzVX29OMe3HXeg0CnDZ2ZYHHMBau41t9PJiLNu+Zr67jCrfAGBWbMii0HYO2h3 +p9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=J5rWzfawpu0XOsLyVwwYFgYCCr8KgHSAplCrfWcEUCc=; b=z7cs9HSDyKBdmwCsfcS7soblI5QL6x8DrVNISlrdttEhts8L/18sX0jV8tNdJOugtc U6X97qR0xjgSPlGOV4i5eWzw7PTEpZt0Ops3Ma2+WN4in986r7kYOgDJ2JXQhI2WK6PA lZz5jzTqw8SuW+nv0gGxoB9Ii3AfuMun2UyRgkKV37SYxH8np5edq5zY+nOGYaq3dc/w PW4WHeCfaF9fKj1lbWKdYHZHKtcJH8cyPMYOrpbb4Z5lDriDEkenfpX9T2O0hmjJzaZ4 d82Gpos5K2z2F5H0HI3iPtblhEe5AJirHR7Ie7jkTgClDhxI4IBc3eYAl6YY1DyVkYko tVfw== X-Gm-Message-State: AOAM533JEFvG5AwYYZRGDj+fgJibJ5EdQ+/6REXxq7EUXHQ+MnROJTeb U/324MDjQ9WrloBqhUlymNE= X-Google-Smtp-Source: ABdhPJys89Pj1f3j26d8H23T31HD0TxjB/nOFlM2aklDPRJ+eXJfAdNX+76pkVAgrcgwul3T4YRm/Q== X-Received: by 2002:a05:6402:203:: with SMTP id t3mr6332502edv.69.1632999925589; Thu, 30 Sep 2021 04:05:25 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id i2sm1305158edv.7.2021.09.30.04.05.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 04:05:25 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] thermal: rockchip_thermal: allow more resets for tsadc node Date: Thu, 30 Sep 2021 13:05:16 +0200 Message-Id: <20210930110517.14323-3-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210930110517.14323-1-jbx6244@gmail.com> References: <20210930110517.14323-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The tsadc node in rk356x.dtsi has more resets then currently supported by the rockchip_thermal.c driver, so use devm_reset_control_array_get() to reset them all. Signed-off-by: Johan Jonker --- drivers/thermal/rockchip_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index 657d84b99..dc3a9c276 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -1383,7 +1383,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev) if (IS_ERR(thermal->regs)) return PTR_ERR(thermal->regs); - thermal->reset = devm_reset_control_get(&pdev->dev, "tsadc-apb"); + thermal->reset = devm_reset_control_array_get(&pdev->dev, false, false); if (IS_ERR(thermal->reset)) { error = PTR_ERR(thermal->reset); dev_err(&pdev->dev, "failed to get tsadc reset: %d\n", error); From patchwork Thu Sep 30 11:05:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Jonker X-Patchwork-Id: 12527991 X-Patchwork-Delegate: daniel.lezcano@linaro.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40E09C433F5 for ; Thu, 30 Sep 2021 11:05:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 282E4619EE for ; Thu, 30 Sep 2021 11:05:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350306AbhI3LHT (ORCPT ); Thu, 30 Sep 2021 07:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350311AbhI3LHK (ORCPT ); Thu, 30 Sep 2021 07:07:10 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5B94C06176E; Thu, 30 Sep 2021 04:05:27 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id b26so20760736edt.0; Thu, 30 Sep 2021 04:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3Mqq1EJ2H9lT3Ci5TT8crEf2RCsTlu4B8737O9t40fk=; b=ctXoSjBkvSIYNULZaa1/V0zomtPR9Dg6hGyso+EDovmgaYUAbYEJved1OfeTZDjx6r jsoMIVFfzEgEXtg4ZDNQzkyDlcbUG2cXX28Oor5BNgfMVRzhkznGLlwUKyxC41i0rUlz 0qxCqfQm9eeFVI+qQbpRezTR8Zzw7pGb9cpBicROrwpunIC0ncneATZnp28rqnrvYiwA DuLwhPNGZLnTczsAJbUljTCACCW6ADDdxDo9hhnSoHEZLZbp9S36tQaQeppsrDhKPzgI u5iWrGW/oUQ8smSzPXPqamjbW8X8kmCFGoAnobN42fYwMX9AmjY8zJrUluzhcbpqtc93 fgjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3Mqq1EJ2H9lT3Ci5TT8crEf2RCsTlu4B8737O9t40fk=; b=H+IPqSzsuSCZxX9n7qZ+JeF6ar35jIuxcTvsmsobGXv32KBCqDqLDyHDWh0Z8ENnpK Eg95f7pR6twMyRvmCMBvMyqAYdiQvWfrdgD8M7anmMHxX6DYe/ov5socHffPtQvddZAQ 0+L9i/PBIl+ZBoPFXyuHzcZ7w6BtBlWhoLVZ0WJojhoQsaU1pmn8sWri0ynYsgA9YU3Z AFe1ewTKYsd1XDlhTi75pTd7K7IN3oNnbqG3DrONAa/VFSlqe9hCkBe4+Qg6/dVM5O1d 3kyNyyN2knAGBYa1PuVjv6L4ya0VzLhHfZk9YcGEdAVtnykNA2DpaTJS3I6hwdS+pcS7 GgYg== X-Gm-Message-State: AOAM5314jNkfb4vrlNAVxBHoFOb1hVkN7sGo1SUI1ivfjJIQ7fcGWvXY f5cM451S4qa0c7vOWu8wzSM= X-Google-Smtp-Source: ABdhPJwn+zUQkIe2nFFlWlA6BpEh0kKo3gLy3lRh6spCZ8VNO5YuDcImrQXlufA2biBRs2ZX2uzc7w== X-Received: by 2002:a50:fa93:: with SMTP id w19mr6405648edr.365.1632999926386; Thu, 30 Sep 2021 04:05:26 -0700 (PDT) Received: from debian.home (81-204-249-205.fixed.kpn.net. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id i2sm1305158edv.7.2021.09.30.04.05.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Sep 2021 04:05:26 -0700 (PDT) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, rui.zhang@intel.com, daniel.lezcano@linaro.org, amitk@kernel.org, p.zabel@pengutronix.de, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] arm64: dts: fix resets in tsadc node for rk356x.dtsi Date: Thu, 30 Sep 2021 13:05:17 +0200 Message-Id: <20210930110517.14323-4-jbx6244@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210930110517.14323-1-jbx6244@gmail.com> References: <20210930110517.14323-1-jbx6244@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org In the rockchip_thermal.c driver we now get the resets with a devm_reset_control_array_get() function, so remove the reset-names property as it is no longer needed. Although no longer required in rockchip-thermal.yaml sort tsadc-apb as first item. Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk356x.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi index e42fbac61..d013348bc 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi @@ -838,9 +838,8 @@ assigned-clock-rates = <17000000>, <700000>; clocks = <&cru CLK_TSADC>, <&cru PCLK_TSADC>; clock-names = "tsadc", "apb_pclk"; - resets = <&cru SRST_TSADC>, <&cru SRST_P_TSADC>, + resets = <&cru SRST_P_TSADC>, <&cru SRST_TSADC>, <&cru SRST_TSADCPHY>; - reset-names = "tsadc", "tsadc-apb", "tsadc-phy"; rockchip,grf = <&grf>; rockchip,hw-tshut-temp = <95000>; pinctrl-names = "init", "default", "sleep";