From patchwork Tue Feb 27 08:07:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13573340 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 39B64C54798 for ; Tue, 27 Feb 2024 08:08:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id E1FD7C43399; Tue, 27 Feb 2024 08:08:03 +0000 (UTC) Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 26D72C43394 for ; Tue, 27 Feb 2024 08:08:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 26D72C43394 Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-563d56ee65cso5113435a12.2 for ; Tue, 27 Feb 2024 00:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709021280; x=1709626080; darn=kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3X6X6/tz50wnZDUvbb5WN4nVEsnFWe25Xdt4g8Ugnig=; b=WA1kvA+Syw7evEUN1gZFo/Wp45ldaDL4IEWgkBj6tWDP0C7iG3Os7HCizN/CuTF+dd RwIijcUqMv7Z1b4ueVLmo6v8v9e9x78cVvnRQyx+uPfqCiDyrV8dMGroo84TDUMlvUh8 bVHaJTR7o5pQJF5G9YeFa3PXenDBwMURocTqscI6UAZrE5EGrYTApB9fxKJFkiZcDW73 W/qPdW8l3d4SloLu2/nnLhSSGZ0dmQqJjZbq3OKg+yBG9bpT3XISziOeQc0Q6CK5tbCn nva+tPJ9j5avl5a6BS8TjcL5iOA9GRjusfX6Z0RJusyGhXC8IvBU1tzQy0eFENXE79+w cxtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709021280; x=1709626080; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3X6X6/tz50wnZDUvbb5WN4nVEsnFWe25Xdt4g8Ugnig=; b=KvBC3SpJED0DcB3aJMqLPD6cngIyxZkOQuCYchQg6E2/B4eF24LubEAFpjXCgp9QUk AKRWmCnr1aJaVdSj/Y5OJGfdEY+GpWTzjfikz92Jt9HK+hKzVvmw7MQjMwIwNNX881L3 Zr5d+dF/1i98Q/5O6NW+fidP43G41ZkOUPh3PjtclcNqBnUcg/5h+O9jWK+wwaIki13Q BWK35VVAgUHNTVHNHXOqwpigfHaCo5FncnfS7U6lqXqw2/dROi4OjfUK911ty4CDU5vM u4/a8d0s9Bqu7wmRf9ALo5D+HfPR5E33163tu73OtV6ddcSvHPMQoiNTGv98KbhaBOo0 ZVdg== X-Forwarded-Encrypted: i=1; AJvYcCWaR5ePV0LEabyjBczdWSdu5vn2yauopt/jpw5sxY23xZmYV1vumtaq+7wzl7DTtLnjU0qnerS4gmvRQJCoXw== X-Gm-Message-State: AOJu0Yw/tMMMan8QaDn0ebfivaAihA86GTeviRGDxRriaCJWl8WaV7rM Y4kpO127WXBTbyk8CGfGIY3CBuwhc0do0ilC2sI/hw48/VIAs0yTAZTem2jiRIQ= X-Google-Smtp-Source: AGHT+IFaapiS/FFG8BskCGhtgplEMxtjTEE3oU8cJgGqNh5gbBgUjZ/8L7PXjg1DmlNnflpw/Pm3Qw== X-Received: by 2002:a05:6402:b2d:b0:564:87c1:a1e8 with SMTP id bo13-20020a0564020b2d00b0056487c1a1e8mr6917441edb.13.1709021280356; Tue, 27 Feb 2024 00:08:00 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id b22-20020aa7dc16000000b00564d7d23919sm509662edu.67.2024.02.27.00.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 00:07:59 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: Olof Johansson , Arnd Bergmann , arm@kernel.org, soc@kernel.org Cc: Krzysztof Kozlowski , Alim Akhtar , Peter Griffin , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [GIT PULL 1/3] samsung: drivers for v6.9, part two Date: Tue, 27 Feb 2024 09:07:53 +0100 Message-Id: <20240227080755.34170-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Hi, On top of previous pull request. Best regards, Krzysztof The following changes since commit 97d4b55111efd72926eb92cbd81c5ad8e6a7b3b1: MAINTAINERS: Remove Tomasz from Samsung clock and pinctrl entries (2024-02-07 16:35:26 +0100) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-drivers-6.9-2 for you to fetch changes up to 746f0770f916e6c48e422d6a34e67eae16707f0e: watchdog: s3c2410_wdt: use exynos_get_pmu_regmap_by_phandle() for PMU regs (2024-02-25 11:39:25 +0100) ---------------------------------------------------------------- Samsung SoC driver changes for v6.9, part two 1. Extend Exynos PMU (Power Management Unit) driver being also the syscon to main system controller registers block, to support Google GS101. The Google GS101 has PMU registers protected and writing is available only via SMC. The Exynos PMU will register its own custom regmap for such case of mixed MMIO+SMC. 2. Rework Samsung watchdog driver to get the regmap to PMU block not via syscon API, but from the Exynos PMU driver. This is necessary for the watchdog driver to work on Google GS101. ---------------------------------------------------------------- Krzysztof Kozlowski (1): MAINTAINERS: samsung: gs101: match patches touching Google Tensor SoC Peter Griffin (2): soc: samsung: exynos-pmu: Add regmap support for SoCs that protect PMU regs watchdog: s3c2410_wdt: use exynos_get_pmu_regmap_by_phandle() for PMU regs MAINTAINERS | 1 + drivers/soc/samsung/Kconfig | 1 + drivers/soc/samsung/exynos-pmu.c | 235 ++++++++++++++++++++++++++++++++- drivers/soc/samsung/exynos-pmu.h | 1 + drivers/watchdog/Kconfig | 1 - drivers/watchdog/s3c2410_wdt.c | 8 +- include/linux/soc/samsung/exynos-pmu.h | 11 +- 7 files changed, 250 insertions(+), 8 deletions(-) From patchwork Tue Feb 27 08:07:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13573341 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 237D9C54798 for ; Tue, 27 Feb 2024 08:08:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id DE938C433F1; Tue, 27 Feb 2024 08:08:08 +0000 (UTC) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 04AA2C43390 for ; Tue, 27 Feb 2024 08:08:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 04AA2C43390 Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-563f675be29so4139119a12.0 for ; Tue, 27 Feb 2024 00:08:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709021286; x=1709626086; darn=kernel.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=trQx0OfRMQbxsApd/n3MseZdPGhNtXwXAK07FPTCiBg=; b=ZUQuQ8LGvOvvac2cFGVY9JhBFbRz7ZHxkEu3OH5OhurhGTqZhNQtrE8tUtiYjIqO42 Db7fpXmUWLZ3mLZxNUdVeTUfdbvf1Ns4g7BcvjQun8UsjY1mAfTRBpaqd6RZ9AJa1Mu0 rTaG/d7kgO5CxlZS3vLV4WI+IXAmZfq3HBLhbRwPMem1U8lX0Ns4Uu43UCPpU6EwoSxi 3RbgB24hsHWGKmstCLEqHDebXGSbjLLO8gYraudHUakB/1RnDKb8ACMXm8tYmrzB8ILE S6EhM2LvbxAzOGpVK0Xk+zpKRxlDFCL44iezEp9XEKbfYoC+HUMOgvs67TEdW51Kf9Tw z6Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709021286; x=1709626086; 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=trQx0OfRMQbxsApd/n3MseZdPGhNtXwXAK07FPTCiBg=; b=d1im3zNtLxKmKXH54UXaHrDoKSi+77LMNIPo7KBgwTJtQKfgC4nqiyaSxDIR4l2hAf /d2+dVrvcAVuORXcl6Fd86EcnhTTp1TSQNQnMfH+kFciNq2yMJCa2sF0JPqnAPMPs/jT JKM5WbSkzEKPVGjCrthTKRpAb3WXg1lRvlx45hIjxX05y5hp/X/5k8dL9K3kAWOLSk5I TMrEsPxjilNrG1rhd0fN0cdbc8bBlDs0yz0zlB2jYe7f5LNR6Gtc/Z9ZrXI9/l/fG1kp miflHspH57CBF+Gj4wcy8Fqy4laQLxpZY/hIuZVhtiu4bFdRmz5a2mB1/ji0Zt4Bosix 8pZA== X-Forwarded-Encrypted: i=1; AJvYcCVvDLTgRqlmFg+J3wa8qI4JyTf3VQgicLl12SWl8XSlGL+YLbPvAzHelzAPhVWsc1mJCk6DChojGY6H/oP98g== X-Gm-Message-State: AOJu0YzOSBHWDyKxj5o0z60lY4FplTIZbACuRjoOP9RU/5AudlJ6TAip JoJMiqw6wiI8f+0uVwZfOqBeCb+XSQZBM6vtzlWazkG0EKTyfXfRZ1qZ6QbIyv4= X-Google-Smtp-Source: AGHT+IEnn4ZoBLr6QN1qXuyx3mJBtk/c9WxXrNxt6iO7Yiw9JjvAPGEUB00W3B8S2Fmrpo7bhflTVg== X-Received: by 2002:aa7:cd4c:0:b0:566:4895:c582 with SMTP id v12-20020aa7cd4c000000b005664895c582mr146303edw.15.1709021286457; Tue, 27 Feb 2024 00:08:06 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id b22-20020aa7dc16000000b00564d7d23919sm509662edu.67.2024.02.27.00.08.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 00:08:06 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: Olof Johansson , Arnd Bergmann , arm@kernel.org, soc@kernel.org Cc: =?utf-8?q?Martin_J=C3=BCcker?= , Alim Akhtar , Peter Griffin , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Krzysztof Kozlowski Subject: [PATCH PULL v6.9 2/3] ARM: defconfig: enable STMicroelectronics accelerometer and gyro for Exynos Date: Tue, 27 Feb 2024 09:07:54 +0100 Message-Id: <20240227080755.34170-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227080755.34170-1-krzysztof.kozlowski@linaro.org> References: <20240227080755.34170-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 From: Martin Jücker Enable STMicroelectronics accelerometer and gyro drivers for the Samsung P4note device family in exynos and multi_v7 defconfigs. Signed-off-by: Martin Jücker Link: https://lore.kernel.org/r/20231221230258.56272-2-martin.juecker@gmail.com Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/exynos_defconfig | 3 +++ arch/arm/configs/multi_v7_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig index c98d5ff8a1ed..7ad48fdda1da 100644 --- a/arch/arm/configs/exynos_defconfig +++ b/arch/arm/configs/exynos_defconfig @@ -318,8 +318,11 @@ CONFIG_EXTCON_MAX77693=y CONFIG_EXTCON_MAX8997=y CONFIG_EXYNOS5422_DMC=y CONFIG_IIO=y +CONFIG_IIO_ST_ACCEL_3AXIS=m +# CONFIG_IIO_ST_ACCEL_SPI_3AXIS is not set CONFIG_EXYNOS_ADC=y CONFIG_STMPE_ADC=y +CONFIG_IIO_ST_GYRO_3AXIS=m CONFIG_CM36651=y CONFIG_AK8975=y CONFIG_SENSORS_ISL29018=y diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index ecb3e286107a..0d885cb61206 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -1150,6 +1150,8 @@ CONFIG_STM32_FMC2_EBI=y CONFIG_EXYNOS5422_DMC=m CONFIG_IIO=y CONFIG_IIO_SW_TRIGGER=y +CONFIG_IIO_ST_ACCEL_3AXIS=m +# CONFIG_IIO_ST_ACCEL_SPI_3AXIS is not set CONFIG_ASPEED_ADC=m CONFIG_AT91_ADC=m CONFIG_AT91_SAMA5D2_ADC=m @@ -1169,6 +1171,7 @@ CONFIG_IIO_CROS_EC_SENSORS_CORE=m CONFIG_IIO_CROS_EC_SENSORS=m CONFIG_STM32_DAC=m CONFIG_MPU3050_I2C=y +CONFIG_IIO_ST_GYRO_3AXIS=m CONFIG_CM36651=m CONFIG_IIO_CROS_EC_LIGHT_PROX=m CONFIG_SENSORS_ISL29018=y From patchwork Tue Feb 27 08:07:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13573342 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E6BC2C54798 for ; Tue, 27 Feb 2024 08:08:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id CD149C43390; Tue, 27 Feb 2024 08:08:11 +0000 (UTC) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id BEF18C4166B for ; Tue, 27 Feb 2024 08:08:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org BEF18C4166B Authentication-Results: smtp.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5643ae47cd3so5119694a12.3 for ; Tue, 27 Feb 2024 00:08:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709021289; x=1709626089; darn=kernel.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=iiVrva5DwInjSui+Br+HHATpx+xvm6PVi1TQNYfveV8=; b=L5qA5S8uq7cuOHp2JWJCXEL7WMC6rbyOXtllHBlHsS9tESgXAjqn++LrLFecIKq5Wm MfOI0LY/gjM/jricU1BLuWKk8R700BuA5NGXlsjcfVjjuPm8L8wRhPdk096f+j+rzYL6 iq5SgO/tkeokHAqr2PFV24qwNIRN24+n0qAn6H4QfelFaG57BSQy75lxb8SFhNLVY/wV 8ifclJ24Uu+f95QBvF+PScC21HTwiMu+RuhvO3a7+4mmXl0qh/npRKDF37pHzuGQCqp6 o//ms7TuoGo5pAIUffQ2P5b+FeAyoHIJLwdJlCSr8DXQ4Fdi6gBzsKHRq+rwXdLz2Ujm Nnsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709021289; x=1709626089; 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=iiVrva5DwInjSui+Br+HHATpx+xvm6PVi1TQNYfveV8=; b=Kxe5Iu/TRKxpBcFgj82i/dRsonrl26eU+cfYwnMHRxwn2SG7t/uCqVQKMK3x2LSoWz OEMMp9/SAyldpBeJ4qeAGrveMWoa13pAOjibHtDvNqiCDoCQj9aBamkggt3lmv4nGurW rhqu1mCXgo9pBBdZSBBdjqdRP0lm8JhtErH/179+5Sw7IitQRO8kZkyOt3TWduFL1TDt gfPOaqp511XP/Ea2PlAxGvhpfftIyqKgqHbOsHuUu03DYLcdI6ydllKo0b6Wy8V07m+q M3kv902aoftt+3UsTHvcpsyQH+zLBxZtzNDVTxUUtRwsNdN1aMnVs3MMx1TAI3mnjxQa oWyA== X-Forwarded-Encrypted: i=1; AJvYcCWGHvYuENfbNIX0+Vl6BFSMijYKtGY+YzFXfdt9bdd2CfPdAfmxTL8rrW6F//02OYykyRHdJPDhYZ9CB8yIjg== X-Gm-Message-State: AOJu0YxRMozjfQY18MOk+yBprTyjCqk2OSqcuFcczUg6PkyR64ldl+06 4tWSb0XXhfDbIvNQ0BaBwQVr6p+/0rMj75m+0n5dKnSMb4BQw85yRHmj+vQHekg= X-Google-Smtp-Source: AGHT+IEWM6Nm8SPJY4tlU/DHnXZcjC6HFHDjix8q780UPHj1OCYUYpjhUE82VyM26QICREgDnkRfTQ== X-Received: by 2002:aa7:d349:0:b0:565:c34f:df4e with SMTP id m9-20020aa7d349000000b00565c34fdf4emr4938085edr.29.1709021289206; Tue, 27 Feb 2024 00:08:09 -0800 (PST) Received: from krzk-bin.. ([178.197.222.116]) by smtp.gmail.com with ESMTPSA id b22-20020aa7dc16000000b00564d7d23919sm509662edu.67.2024.02.27.00.08.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 00:08:08 -0800 (PST) From: Krzysztof Kozlowski List-Id: To: Olof Johansson , Arnd Bergmann , arm@kernel.org, soc@kernel.org Cc: Artur Weber , Alim Akhtar , Peter Griffin , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Krzysztof Kozlowski , Henrik Grimler Subject: [PATCH PULL v6.9 3/3] ARM: dts: samsung: exynos4412: decrease memory to account for unusable region Date: Tue, 27 Feb 2024 09:07:55 +0100 Message-Id: <20240227080755.34170-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240227080755.34170-1-krzysztof.kozlowski@linaro.org> References: <20240227080755.34170-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 From: Artur Weber The last 4 MiB of RAM on those devices is likely used by trustzone firmware, and is unusable under Linux. Change the device tree memory node accordingly. The proprietary bootloader (S-BOOT) passes these memory ranges through ATAG_MEM; this change allows us to have the correct memory ranges without relying on ATAG_MEM. Tested-by: Henrik Grimler # i9300, i9305 Signed-off-by: Artur Weber Link: https://lore.kernel.org/r/20240217-exynos4-memsize-fix-v1-1-7858e9c5f844@gmail.com Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/samsung/exynos4412-i9300.dts | 2 +- arch/arm/boot/dts/samsung/exynos4412-i9305.dts | 2 +- arch/arm/boot/dts/samsung/exynos4412-n710x.dts | 2 +- arch/arm/boot/dts/samsung/exynos4412-p4note.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/samsung/exynos4412-i9300.dts b/arch/arm/boot/dts/samsung/exynos4412-i9300.dts index 61aca5798f38..b79d456e976d 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-i9300.dts +++ b/arch/arm/boot/dts/samsung/exynos4412-i9300.dts @@ -18,7 +18,7 @@ / { memory@40000000 { device_type = "memory"; - reg = <0x40000000 0x40000000>; + reg = <0x40000000 0x3fc00000>; }; }; diff --git a/arch/arm/boot/dts/samsung/exynos4412-i9305.dts b/arch/arm/boot/dts/samsung/exynos4412-i9305.dts index 77083f1a8273..1048ef5d9bc3 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-i9305.dts +++ b/arch/arm/boot/dts/samsung/exynos4412-i9305.dts @@ -11,7 +11,7 @@ / { memory@40000000 { device_type = "memory"; - reg = <0x40000000 0x80000000>; + reg = <0x40000000 0x7fc00000>; }; }; diff --git a/arch/arm/boot/dts/samsung/exynos4412-n710x.dts b/arch/arm/boot/dts/samsung/exynos4412-n710x.dts index 0a151437fc73..eee1000dea92 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-n710x.dts +++ b/arch/arm/boot/dts/samsung/exynos4412-n710x.dts @@ -9,7 +9,7 @@ / { memory@40000000 { device_type = "memory"; - reg = <0x40000000 0x80000000>; + reg = <0x40000000 0x7fc00000>; }; /* bootargs are passed in by bootloader */ diff --git a/arch/arm/boot/dts/samsung/exynos4412-p4note.dtsi b/arch/arm/boot/dts/samsung/exynos4412-p4note.dtsi index 39a3d1cbe4c3..28a605802733 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-p4note.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4412-p4note.dtsi @@ -23,7 +23,7 @@ / { memory@40000000 { device_type = "memory"; - reg = <0x40000000 0x80000000>; + reg = <0x40000000 0x7fc00000>; }; aliases {