From patchwork Mon Jul 22 12:34:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 169380 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp7473535ilk; Mon, 22 Jul 2019 05:36:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxII82o2rWs21KXJ4XwUcEqM/fu80HFs6GpYBqPzeS1nWJQqcdAgbEgO9FvDwBPRLjN6HDJ X-Received: by 2002:a65:534c:: with SMTP id w12mr71730177pgr.51.1563798976389; Mon, 22 Jul 2019 05:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563798976; cv=none; d=google.com; s=arc-20160816; b=WZIyLy1WXQ1KnOPEluf4agwLg153mBHelTpCEtHUNwsak31T9iup+oo+7rU9Yiv5m+ vRVryLEkmzFCM4EaXiMVDC+XY+G4TUKSgAVOFsjd6f1VkmYmtiJfG6+tQw2VhV1TMO31 LSpEPMpTPNeF3wru37bpYG643rg2+sGdFTZmizEcsBJxaSrwzk8Gt8MFBMviwvrnHPdT OlgwdUsSQAAjbfn67YFpdU79EUAR1jxPsVXnnKZNv4RGfFyh+MnP/6bBfh+3jwRdGkkp 5iJEJC4uwza0OkVZgjKr5J7loYSN+8qJ7XPtms6eCjDxNs6yaUh9AG53E4s9Sw49vgB3 JGRg== 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=KFc39mi0uhiluiCIJG8e23/NFKMxR+9FRFL8Yuo54v8=; b=SP2exB4LVlGi7DeCa7nxfHBYUxfgUkT+neczMRR89bMZOC3a78010Jfg0L0/DCyFqO rxNB3j/azSJwQEd9IL38YMLed3JMb26sIembaOtr+gRC3i5gQMLGxv0Th9vzkBXGF1cM HHsizs/ORcjZRbbKZosF3clkbnDKC0vD0KgcgC2FrnySMSItibI2X9RwngvHWVsA8R+6 auPjnxrnx3LpYN2aeTYktYGuFPuTYKd1w4gJUsRUhl04/fDuoNIPMrJ+5pCtiBh+DuVM aVUAw/DnKh+eHCLcwTM2b89K+AR8zZvQgMDhIYh4LVAiM1zuXGXkwKwiYMGvzeBLRgUp Xv8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OZiFduZ7; 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 a5si7157640plh.137.2019.07.22.05.36.16; Mon, 22 Jul 2019 05:36:16 -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=OZiFduZ7; 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 S1730485AbfGVMgO (ORCPT + 29 others); Mon, 22 Jul 2019 08:36:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:36012 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730462AbfGVMgJ (ORCPT ); Mon, 22 Jul 2019 08:36:09 -0400 Received: from localhost.localdomain (unknown [223.226.98.106]) (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 DF6D9218EA; Mon, 22 Jul 2019 12:36:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563798968; bh=1PLvDY/QA297kMSesie+GVrZ3hCS68jBy8NwFMw4DJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OZiFduZ7bHBj8TlLdO9xK3v0ZWsKGWhjFIICaizGZxTuwNVEdtXHDTgiHux3vhDFo roSj9ChIL3txUsLd7d7EjStfjOxz6h2yYPZiuPKJGRgnanwJ+JpdMy/Ch+EjRRbZb2 c0M8aowUprVYGOhbL0NO5ZI2I1XIUn4EDi7oSiLw= 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 Subject: [PATCH 5/5] arm64: dts: qcom: sdm845-cheza: remove macro from unit name Date: Mon, 22 Jul 2019 18:04:22 +0530 Message-Id: <20190722123422.4571-6-vkoul@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190722123422.4571-1-vkoul@kernel.org> References: <20190722123422.4571-1-vkoul@kernel.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Unit name 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 --- 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"; };