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"; };