From patchwork Sun Mar 27 18:08:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Bakker X-Patchwork-Id: 12792887 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86582C433F5 for ; Sun, 27 Mar 2022 18:09:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236266AbiC0SLB (ORCPT ); Sun, 27 Mar 2022 14:11:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232040AbiC0SK7 (ORCPT ); Sun, 27 Mar 2022 14:10:59 -0400 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07olkn2053.outbound.protection.outlook.com [40.92.15.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4114E34656; Sun, 27 Mar 2022 11:09:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m5fT/8CxbQTGc+j6fiW+O5nwRwU12IqWZ01xOXpm/LJYhv4GhRgz9dZzKpLTbVBEBFieLxheOd1r8Znr1mUj8Cb/pg5ewW7FbNhzx/xh7sdqGcuWgkOOMHhpQS+kinOTmLSOA03czXunWs+hdJhJDyZ9h1/9LWJz3/c+LnESaO3Q1zrfB3tI7SulZl26I8GJ/rqEVrjmSL1aU539xATD7cVO7lecPaURFTW1+VEZzQkyzIc2vqD/VlT9+nexC07wcbiq9LpzyCmIaUAynutR1S/nlsfxb5op8IB/OyKRCCCbdcGN/TckafrBp/Zsh44o462Gu61b4CMfpE5FucmPcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Fv+7ooUARPAzKlw4ps3s4rr4U5e6oufJifd70YDYepc=; b=ga9cPIbs2IixhGb+FABK5vHeS8uAd7PNWsR8j1zmb66jZiCwJXyZgwPh5gmRXWS1DhCVQG0Qs2ouAem/Tazk9YfcWkojiRlw+Wsd1MLisG05ycq5y8N6IKl1279FNtb5ZxWs+fkC2I2Qp83+Lx1LpvFqyCEwIVKGQS/FuM0tybtUyzPb2efGY1buXVKcXNaqoM7zg5oVjghaH9zOw9Gbkr1ozSyMaMRVT2zyF3h0gkkaJxcetIZWbVPlL7nqQZ5a5w776IJAtUVk+alIyxVj3EE8k7B7uGqdiThodoYoUviKpBOV5TNc5ZDtxAI6UnoJi2uEhwTEynTWvyaY21fvTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) by BN8PR04MB5778.namprd04.prod.outlook.com (2603:10b6:408:a3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.16; Sun, 27 Mar 2022 18:09:19 +0000 Received: from CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070]) by CY4PR04MB0567.namprd04.prod.outlook.com ([fe80::451b:e5ed:c1a3:4070%5]) with mapi id 15.20.5102.022; Sun, 27 Mar 2022 18:09:19 +0000 From: Jonathan Bakker To: krzk@kernel.org, alim.akhtar@samsung.com Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Bakker Subject: [PATCH v2 3/5] ARM: dts: s5pv210: Adjust memory reg entries to match spec Date: Sun, 27 Mar 2022 11:08:52 -0700 Message-ID: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: X-TMN: [yl+6Tu3fgPOJfUjUIe6Azwd5ekzE23BD9s0vYJLyMC1B2BmnDLuZpDsIwvWsvTrS] X-ClientProxiedBy: BYAPR07CA0031.namprd07.prod.outlook.com (2603:10b6:a02:bc::44) To CY4PR04MB0567.namprd04.prod.outlook.com (2603:10b6:903:b1::20) X-Microsoft-Original-Message-ID: <20220327180854.4857-4-xc-racer2@live.ca> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3033aeb1-db7b-4cbd-babb-08da101ce9b7 X-MS-TrafficTypeDiagnostic: BN8PR04MB5778:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: INmCne61l+YUuktzZvlyFUY88HveecOkJa6Vdvn87j+ml5KCvf+vQadn/SKem+FkgGnUdOAodkh00Qz0uw+FVsFwRJE6nDWOwh6JrTQHiENVvecvCpNaQqIhSED0BrGV9X+VrW7IXwoyYWdiFjj8HsBu9mWSbSGQk1TWqtTm5WX8wkqQfwrublycf9zGzKw9Jp27sgW6MlihZHOigxuqhMNBKV5hu/DnJvaIdetseL7UhfjTlNkZC3ApXZvhFOenQic3DitvDq3ETYSHbCEbaEXAhOOQJ6qXEBMi+Z3iemaEGn1zdlGIjnORucp4+qpdCwdcrESqWNGTjTCyBBS1onn0nogwGSYz5Z4GQHjsiHXHqombALaxWZazwr17+OiPIn9WHIGgsvc4a468xAmV6F9Z83S3Czlc+0pWe2MR6Qz+4i99bzSouI9lYjwDJY9Z2cqYiPtvgmcrtwuT8Xn5gUynfFoJamBlbJ1ccBpHBiyyClU0QjmApB80W0LjhKBVq6MFq4jaKoCOdVZvNp1mfvK/m75lblasxGU9zjyEYfpZ7ohINSk7iEH8T39F9UwgViE/Q7A6nhGJ4ICS7QROLA== X-MS-Exchange-AntiS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yv3t8mD87zcYPvH+POdmb0kxkN7hTM62awh4lTacIddqFNm+jE2OGUfpHnUkPsRhu1qdVJ681W4Nvmf0pPb8O6NquZl0VkMYR6eiyUDFbsrFfc+c6/aQ9pRuOSnmbiL2sFB8sP+6JoihkRXBrizqsmTZYdfEGeUv+EHLiDDVti3ghDAiXYZile0FlHezHGjxC2ePFvbHEAsbBYNeMTqAQrly/ZgP+2SJ85dOL5vcjbUoqb006fvZQF6z/ZTqnMvZUGJKkcR2X1HvlnrUR9nWH8hD5jfJ5cROf9NkWsb0TUyMpDbiGPirW0pCnTFnT6jXb5bfebyIPHZo5ZdrQ58wSDrHDQWvOKMHShcv3syU+1ykSQbmFbjAQiD4M0CQn+XY4hHxstvPJkNqT4opmGEZZzehgylzH3wTKv3o26NjitPkR2djlHNgXzGTz5d4rvo1XbmzVqIJFsaXaKqsCE9nssXLaWqs= X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-edb50.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3033aeb1-db7b-4cbd-babb-08da101ce9b7 X-MS-Exchange-CrossTenant-AuthSource: CY4PR04MB0567.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2022 18:09:19.6200 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR04MB5778 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org The reg property of memory nodes should have pairs of offset, size; not all memory banks lumped in as one. Signed-off-by: Jonathan Bakker --- Changes in v2 - Adjusted so that there is still one memory node, but the reg entries are split into multiple pairs rather than having multiple memory nodes --- arch/arm/boot/dts/s5pv210-aquila.dts | 3 +-- arch/arm/boot/dts/s5pv210-aries.dtsi | 6 +++--- arch/arm/boot/dts/s5pv210-goni.dts | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/s5pv210-aquila.dts b/arch/arm/boot/dts/s5pv210-aquila.dts index 6423348034b6..79014a624e4a 100644 --- a/arch/arm/boot/dts/s5pv210-aquila.dts +++ b/arch/arm/boot/dts/s5pv210-aquila.dts @@ -29,8 +29,7 @@ memory@30000000 { device_type = "memory"; - reg = <0x30000000 0x05000000 - 0x40000000 0x18000000>; + reg = <0x30000000 0x05000000>, <0x40000000 0x18000000>; }; pmic_ap_clk: clock-0 { diff --git a/arch/arm/boot/dts/s5pv210-aries.dtsi b/arch/arm/boot/dts/s5pv210-aries.dtsi index cbd378ac4e18..116c507da028 100644 --- a/arch/arm/boot/dts/s5pv210-aries.dtsi +++ b/arch/arm/boot/dts/s5pv210-aries.dtsi @@ -24,9 +24,9 @@ memory@30000000 { device_type = "memory"; - reg = <0x30000000 0x05000000 - 0x40000000 0x10000000 - 0x50000000 0x08000000>; + reg = <0x30000000 0x05000000>, + <0x40000000 0x10000000>, + <0x50000000 0x08000000>; }; reserved-memory { diff --git a/arch/arm/boot/dts/s5pv210-goni.dts b/arch/arm/boot/dts/s5pv210-goni.dts index c6f39147cb96..d32f42dd1bf5 100644 --- a/arch/arm/boot/dts/s5pv210-goni.dts +++ b/arch/arm/boot/dts/s5pv210-goni.dts @@ -30,9 +30,9 @@ memory@30000000 { device_type = "memory"; - reg = <0x30000000 0x05000000 - 0x40000000 0x10000000 - 0x50000000 0x08000000>; + reg = <0x30000000 0x05000000>, + <0x40000000 0x10000000>, + <0x50000000 0x08000000>; }; pmic_ap_clk: clock-0 {