From patchwork Sat May 18 21:11:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13667707 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41E55C25B79 for ; Sat, 18 May 2024 21:12:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qPlBcdcJ38iG3NA2IESWBcsTMxPvDP23P/sX9chS+1E=; b=07RlylDx7ORmcS kPV5yKbO4/Znn16eAw0rQLYcDQwDrC9dQ6+G9nRZhp0kW1Gwwu4DOwB2S+4+RWiX+zR2d6k/GrOMr bTB5OWbikLYCHtT232QsvIn0MkmJHuMekoNS5dNa+52C7g71W/upAOSmh+b0w/dSlpStfm75wJWU5 CnJ8u0kqdNstsHvmF5Jn7lInCYsNPT/7Fxigk1maD4qDdznloXzXENkyI02iu4rruQsHZVks/X5Xg V/bncgNIynwyc2QLjaI3bV/1B0opW5yxQU6tSNcRHPqXmsUXZnyFbzJ/qZvB0PHayjmo0ZHI8XCg5 HYIxGPa7TQPdjSoTPo0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLq-0000000AnQS-3eMJ; Sat, 18 May 2024 21:12:22 +0000 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8RLh-0000000AnIz-3Iit for linux-arm-kernel@lists.infradead.org; Sat, 18 May 2024 21:12:16 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-572af0b12b8so5908563a12.2 for ; Sat, 18 May 2024 14:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716066727; x=1716671527; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mStJOZyJxaV4Sf+0e36HuH21WV0+MF5MEQ/HmeAZn+w=; b=xZ3gRA+Me8atKEO8xVBBR21rYLChtT00iskEdW1bew75y3hQA1e+9FMx+8QBj4Zrvm Sw57Bi6mtuHn+tDOHBGwhD/GSnkLEDXXUeMDsoptK6AULja+0l04PaAcdtvLEpP8lh57 v33lnA+iXrFGAhHEIbRS+20wKJCgy0RKAB8579to4vqkf05Gu/U84ze5n4NDlc5Hfyho Xr77MrZxSbfOqtBHl4sXJ6RzN+t2kr9RpBbeA15TtXJraulHBcfdbzy/cpbQaHd04ZL3 moOh021zVR+moy5Y++FpkmYDy+3RKYCYOdvF3fNvd5fNV4q57kw3p73jBXrVo0t1jBWp c8jA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716066727; x=1716671527; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mStJOZyJxaV4Sf+0e36HuH21WV0+MF5MEQ/HmeAZn+w=; b=w4LMJNr+fIa/S6y10TJpuC8kYIuO7ZX+FdGca6MMtNhPK7bJwi4alSbNK2rkbvHVkq +X758h998XcK+dwvdoR8xFgTptwq1nTAEdjZepvBiLtvC7nhCJY8MuLQr0rKGkywLvsA fOJOU/+quDlTHfm+xyjQ64gOSFvfNSB+qVSLsa9YZy4JExPzG+Fe3UumLIWGstrqJDz9 8AB2u8Mj47lenCMERcvo9RsKBP9dHoVuqWkl6dFt9YBBtmqF+Ga/FiJlIKT5DpNvCky8 Za1vGthJ9/ar8GKkxWt/hnikBomjUQwI9+4Jru6fUhQiXP4AHCpgDaWZ4GKIOQyE1EdG QQpQ== X-Forwarded-Encrypted: i=1; AJvYcCUBQzb83VQoTc64GOv2WvRGzNWIfQsVJQ05YEMPh5QFSxEqLmbeA1xhOEJjTclCGZoDomyr2cKisOqFwX2tTW5pCJzRVsbWUq7cfFQSvfAOp8LmDmM= X-Gm-Message-State: AOJu0YxFbQXvjYOQ4Hd8tENzuaf2wGj+uA6l77+OCqfUYf65LygWqre5 a8V798MlqPBnjLH3/R3olkR5l+YiUfuwZgX87Z9hrvhvA2J0WBJMPa2vZAufTrI= X-Google-Smtp-Source: AGHT+IFyPVsATNUTmbolTM+aWrNiRvkqe73Bxw0huQJz0whqeZnLtrpr55PPw1QGKoL2hVm90QrNwg== X-Received: by 2002:a50:d7c2:0:b0:572:68a6:97c with SMTP id 4fb4d7f45d1cf-5734d5ccb06mr16307954a12.11.1716066727539; Sat, 18 May 2024 14:12:07 -0700 (PDT) Received: from krzk-bin.. ([178.197.206.169]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c323d3asm13151340a12.90.2024.05.18.14.12.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 May 2024 14:12:07 -0700 (PDT) From: Krzysztof Kozlowski To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , MandyJH Liu , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/4] arm64: dts: mediatek: mt8173-elm: correct PMIC's syscon reg entry Date: Sat, 18 May 2024 23:11:59 +0200 Message-ID: <20240518211159.142920-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> References: <20240518211159.142920-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240518_141214_028102_B478C368 X-CRM114-Status: GOOD ( 11.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The MT6297 PMIC has address/size cells == 1, thus its syscon child node has incorrect number of entries in "reg" property. Fix dtbs_check warning: mt8173-elm.dtb: syscon@c000: reg: [[0, 49152], [0, 264]] is too long Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi index 6d962d437e02..0e2439860223 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi @@ -1138,7 +1138,7 @@ rtc: mt6397rtc { syscfg_pctl_pmic: syscon@c000 { compatible = "mediatek,mt6397-pctl-pmic-syscfg", "syscon"; - reg = <0 0x0000c000 0 0x0108>; + reg = <0x0000c000 0x0108>; }; }; };