From patchwork Wed Jul 24 04:49:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 169594 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp9754259ilk; Tue, 23 Jul 2019 21:50:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCmGFti1wHYuBKG41RTUf+HSPC7hy++B8+/myBtsCe46abqmwC9d5pjeE646jxrt3o2NDk X-Received: by 2002:a17:902:925:: with SMTP id 34mr83188253plm.334.1563943841964; Tue, 23 Jul 2019 21:50:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563943841; cv=none; d=google.com; s=arc-20160816; b=smcrd+HLh3rjILwV9ARg7EGnR9ZqRZY/4eR/M/7lJQD+fr4xkkmaq4mu4WJa0n/j74 CXnKePQnnjonisCXVvjvgAUXqpMSbHg+fsqgFbUVSaHgGKgw0bgs0UlWzyU23OhUyZZB Sin6N5wt5+LY/n50Dotz6LLYQQx/a09msJnka78Dwjlep+1JtsbwR5nBjyEuz9/IuDsi InebvKMbnWTSTv4tXyKIkUqZ/iy1bgzTFtB50pvdVIXbHuTZPkjdOqwS4ApTtmaBQqfc AEXYzREfZ6f62Z1iqYczemAkK056W8Gc2yzvlz3iIY+q0YSPs6SaxoGT6PjiaqXYniHl Af7w== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=cqZRP+4slX4YHojs+jtkyRCtQ3K/PKN4XkgaPTCmhBY=; b=n6fLgXWxUe5o0I9V54z+8cwsnuvHM/nyZjrmLDJSFBXA9UTJd4ahgMVWFOOHtDDrtR 5lniiIxUuW3DNlZVyaM/k5+q9AWpM93OwUX3qyaaIGr1/mZ0nBNfMoCdMcDNM118Fu07 pf9OoNERCmMp/F6l97LlQKm2mqvrDQnaEC2Sn8WwU+fWSVEpIlua0wTUD32JWlyPgUwn u5Bl08B1SlpjhmaVySPzTWRgHJQOTJ9tSkjzrx4MjOH1nAcM/cWe7V7xKN3Ic1KZhY0Z YVPkgqbqNGYo6NoOOYCJUYXtyk5LvMJ1eDuArKocz0q3YUAEC4LWs8Gixv7i7TS0FGhj 9NGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f5mvUkHH; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 h4si14980061plt.30.2019.07.23.21.50.41; Tue, 23 Jul 2019 21:50:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=f5mvUkHH; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1725955AbfGXEul (ORCPT + 15 others); Wed, 24 Jul 2019 00:50:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:58198 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbfGXEuk (ORCPT ); Wed, 24 Jul 2019 00:50:40 -0400 Received: from localhost.localdomain (unknown [171.76.105.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AED0218D4; Wed, 24 Jul 2019 04:50:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563943839; bh=hlM1s4FLsbIjVC/9yzo2YVwU4cWO7KsWH8fsbzhpJpk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=f5mvUkHHHy7zeCF5Sg8O441OsavKgFCOVC9ygfi7YvtMln4SorItjrfovCn7Y/YGZ gZMs1A/+cI/rLnO1HPWifmo/JF3u6U/sssBEzUXtysSane+tjOk2sUDFt1jP3rhGl3 FW8kmOHrqCAsvVYV8i6s7gtYk8bvkN/v2kRMpmfQ= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Amit Kucheria , Marc Gonzalez Subject: [PATCH v2 2/5] arm64: dts: qcom: sdm845: remove unnecessary properties for dsi nodes Date: Wed, 24 Jul 2019 10:19:03 +0530 Message-Id: <20190724044906.12007-3-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190724044906.12007-1-vkoul@kernel.org> References: <20190724044906.12007-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org We get a warning about unnecessary properties of arch/arm64/boot/dts/qcom/sdm845.dtsi:2211.22-2257.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae00000/dsi@ae94000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property arch/arm64/boot/dts/qcom/sdm845.dtsi:2278.22-2324.6: Warning (avoid_unnecessary_addr_size): /soc/mdss@ae00000/dsi@ae96000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property So, remove these properties Signed-off-by: Vinod Koul Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 6 ------ 1 file changed, 6 deletions(-) -- 2.20.1 Reviewed-by: Amit Kucheria diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index e81f4a6d08ce..2985df032179 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2234,9 +2234,6 @@ status = "disabled"; - #address-cells = <1>; - #size-cells = <0>; - ports { #address-cells = <1>; #size-cells = <0>; @@ -2301,9 +2298,6 @@ status = "disabled"; - #address-cells = <1>; - #size-cells = <0>; - ports { #address-cells = <1>; #size-cells = <0>; From patchwork Wed Jul 24 04:49:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 169597 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp9754422ilk; Tue, 23 Jul 2019 21:50:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/IUB8xrsQrdTEavohJ2YXAwO9maQ/0nW6kyR5SvndNQqo1+3V2AdQ/vzh1puAKuWbUDGU X-Received: by 2002:a17:902:aa88:: with SMTP id d8mr79608674plr.274.1563943854394; Tue, 23 Jul 2019 21:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563943854; cv=none; d=google.com; s=arc-20160816; b=h12lFLY9RNsdTBFCTtTEatwQ/s8DY/gJEvrbchOtrNHtzW9Af8eR9Lz3VjkLfOrAcY p69jQVjBBb8vjEFRkyVHCOjZzWAVjfDksgDqmT+htYyQmvuTg3KFi4NwKvz93KrtZD/c jskPRHybXLn7CCTPaqL9fjWouBECAiSLMQFMDcS94ddAIyeTPa7KqnhZ87NMM0BgSHu9 TgclMLS0B9j3M/qMG25oRKfBK/60nbeBLiVXzfXOVIJsZ2f2DiqTCNxAdOlHV3sEbqDc 1RbxOmzr65L3kI2ercFCBfymJ6ex34nrG5pllWjawcbM/XyckEE58613SpRiaGFJ3Let ai5Q== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pUrJHL7D2aN1ls8RwXgxe1qvlAjMNXITEfF7hCnEJWI=; b=V8peDn04C0E0J/Ay0/O5v5pgg18BDjYWEcvfqQmFLwulXetSqxfW0nIaiKWuCkZ08f YZ9bNayn15gh6EOxnSL8XFJGN51u+V1YofJRCzguvSYEOhBjmHhAtEMeT/3qLHmFmtYH 3GMp1IXO9WcUca8LOKzx3utK08DKR9RYJA0EEIJ7vmrjDdwmqMysj3vCaZm7dT0wOuTa Z74ovBse2ch6ALcmhudZ0m/tAxm3HR3xvhbV+Wi2mDp8HU7ACICRUfHgx3fjpy92qv0h wTdVucq37QuX1Hu9AkR8NeCpG7S0kzQdf3TOxH0aai/gaap3IfMP4NvZMUWFMFm5Wr3j D7lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FpAmCRCs; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 y187si16803927pgb.480.2019.07.23.21.50.54; Tue, 23 Jul 2019 21:50:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=FpAmCRCs; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726455AbfGXEux (ORCPT + 15 others); Wed, 24 Jul 2019 00:50:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:58466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726297AbfGXEuw (ORCPT ); Wed, 24 Jul 2019 00:50:52 -0400 Received: from localhost.localdomain (unknown [171.76.105.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB6B9227BF; Wed, 24 Jul 2019 04:50:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563943851; bh=+9JG56z+4A5NfvgtTE2tdlqB5Smd8nyp0+XPDwWRxEw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FpAmCRCs/WeLi+zgoCh1zPR+qIiA7JLIX9951pf6IUI1qMaDJeb/TziTOVfr8S+7J TBw687aJLGilzP9NSGh8PZo6pe6bFwydq0dm4H4RDGkBmFX1tPVg8+JHlP1NkqhOgu Jw6aVdxRGk1oQnw1wYqyTdb7I+9eqNJutBerOs1I= From: Vinod Koul To: Andy Gross Cc: linux-arm-msm@vger.kernel.org, Bjorn Andersson , Vinod Koul , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Boyd , Amit Kucheria , Marc Gonzalez Subject: [PATCH v2 5/5] arm64: dts: qcom: sdm845-cheza: remove macro from unit name Date: Wed, 24 Jul 2019 10:19:06 +0530 Message-Id: <20190724044906.12007-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190724044906.12007-1-vkoul@kernel.org> References: <20190724044906.12007-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Unit address is supposed to be a number, using a macro with hex value is not recommended, so add the value in unit name. arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:966.16-969.4: Warning (unit_address_format): /soc@0/spmi@c440000/pmic@0/adc@3100/adc-chan@0x4d: unit name should not have leading "0x" arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:971.16-974.4: Warning (unit_address_format): /soc@0/spmi@c440000/pmic@0/adc@3100/adc-chan@0x4e: unit name should not have leading "0x" arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:976.16-979.4: Warning (unit_address_format): /soc@0/spmi@c440000/pmic@0/adc@3100/adc-chan@0x4f: unit name should not have leading "0x" arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:981.16-984.4: Warning (unit_address_format): /soc@0/spmi@c440000/pmic@0/adc@3100/adc-chan@0x50: unit name should not have leading "0x" arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi:986.16-989.4: Warning (unit_address_format): /soc@0/spmi@c440000/pmic@0/adc@3100/adc-chan@0x51: unit name should not have leading "0x" Signed-off-by: Vinod Koul Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi index 1ebbd568dfd7..9b27b8346ba1 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-cheza.dtsi @@ -963,27 +963,27 @@ ap_ts_i2c: &i2c14 { }; &pm8998_adc { - adc-chan@ADC5_AMUX_THM1_100K_PU { + adc-chan@4d { reg = ; label = "sdm_temp"; }; - adc-chan@ADC5_AMUX_THM2_100K_PU { + adc-chan@4e { reg = ; label = "quiet_temp"; }; - adc-chan@ADC5_AMUX_THM3_100K_PU { + adc-chan@4f { reg = ; label = "lte_temp_1"; }; - adc-chan@ADC5_AMUX_THM4_100K_PU { + adc-chan@50 { reg = ; label = "lte_temp_2"; }; - adc-chan@ADC5_AMUX_THM5_100K_PU { + adc-chan@51 { reg = ; label = "charger_temp"; };