From nobody Mon Feb 9 17:23:07 2026 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A7B4364EA6 for ; Fri, 9 Jan 2026 16:42:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767976939; cv=none; b=hD2faudfkWw8SaLhskcYNZF6Q2iEU3lj6LBDSUWBzVyzJey+kBunAWRSJGqewa6NXKV99R/BfPFG1lbv5jdBkeBnz18LA6vRjltIofdgRfmdwWGNThyj9hylo1bgjjwoGpp07QFgtYtWemqkvaaHcmbPn9aj2t43zk2hjHHB09c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767976939; c=relaxed/simple; bh=nmpgAjLfAC87GKkiTxsZXklsE6NiSn+AfRFX+0wMF08=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Knqd2z5Q7mC1khxt6pWkX/JWYfWba7dlClVrr1JZo/Jmg6tgDUCTcyYK1aJwpizF7HUWL5Xx7nbcs/ye4Z/qJAXCzJPqdT2uuci7Qj/UWRPC7Hjir9GtKdnZNktU6m46O/TtJRgoOlWCMeiLFl1cy5csyJEYEsICOdQWiCTzM9s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=OqAIXZ1M; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=qBmGT5am; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OqAIXZ1M"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="qBmGT5am" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767976922; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vb+ZCk79JFofYy0opP2TBb2dghQqxeyzmNW11i1RuaE=; b=OqAIXZ1MsHV1hu4lmC7rJ8zDDZs6G2XgPsQgGB5qz1VwEkZdM8lRoUbyP71SQp7Y0SIrS/ AbuDhEH+FSOO9oN2t455+EyXHPo3au/rK7zQEcvFC5/Y1qcAYr/rsUXZIPCC6gwGCMEBOA IA1M9KlxTi2O63ffY1JB55A68Ysbr98= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-592-Eg94iYY7M9Sb98dkATN1_w-1; Fri, 09 Jan 2026 11:42:00 -0500 X-MC-Unique: Eg94iYY7M9Sb98dkATN1_w-1 X-Mimecast-MFC-AGG-ID: Eg94iYY7M9Sb98dkATN1_w_1767976920 Received: by mail-vk1-f197.google.com with SMTP id 71dfb90a1353d-5635edf78bfso3142697e0c.3 for ; Fri, 09 Jan 2026 08:42:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1767976920; x=1768581720; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Vb+ZCk79JFofYy0opP2TBb2dghQqxeyzmNW11i1RuaE=; b=qBmGT5amxp28x4orcOX8/cbbkPRmDAzQ5jux6n0HagBjuWGH7EWMi2V+UQUqAx2kFx bKrp+DE4pKORqCuCXZXVoLewbOpjsNaUHhhmQUScQFS7RZ9V/TFHGnMyPgWauSPO2XzL fQrHi1VTCyVhLbn4xsszsRDqlfGUv4OVHrtb0Ekr/ZRzcAGhwmLpE0k22bhYX28MUwqd ATfOOHEgIkpT5IXD1J5Q5BZ8GE5DNqBkixzIAGhEtZoCigFxY5Gdw7It6OZ8wQPBqy+1 7YjrHmrItL24cY4Uc3h6598Etn3yC1nfYUpiAqB3RtAWoCv0eaAItIXj4dBCgoLQsEGF s3GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767976920; x=1768581720; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Vb+ZCk79JFofYy0opP2TBb2dghQqxeyzmNW11i1RuaE=; b=NWVU9j1Dk9WD6MhroIuDlioAQMHgM/ZzM1B3K8uwXtbBUmbMZ0AgE9/t7TJPmT5dVB Uc42yhj4zBW93megY+HOpRFjGIxsvW0w1+MfXDs2iA4kVPGPqe9tMoKwjEl7mExd9UBV +SCPwUvuEgioNIj2W+/AnyUVZoGuoCjH8wPeHlDXF/svMPyqDz5ujcvlHOrq6nyHlQ2B E+cCNpRmv+0cSsijXk8iIwxlu3hPnLwMbtqXR1CKnsy3nd9xMvkvNAiEhsnrZEQ7jocc kRDf1BE8EAs13CQa5FHkIvSpXjgZrrQg8BAahAzlvaaawKxs+oCIBsXNEohGKSbYfKu7 jI4g== X-Forwarded-Encrypted: i=1; AJvYcCUTItSP1wtY+vVjrOQyajdlApplR05tamGDCxhx7/ybTKbQ3njACiq5QipT95HFfz5okNKyU9an1VTbaEc=@vger.kernel.org X-Gm-Message-State: AOJu0YyrWOunBDJ/RXAivEG03hjwByNZ0rbnFjL4T+3pdKKGCq9oIUya Na1F0DskKAdr7mMkTFPYg+aASNE+q0jt372RhBQgSM7LawtyCxl/q8qIpcMgF09P88wP0o6zsBS 7Cslbu3n3G2JxrpypottwrF/L9ebgH/IEr35PqxtZIlFnx+UpithUC/gw3qakQOBAUg== X-Gm-Gg: AY/fxX4tGLTPTf0OLd0r1jnr1q/jR2xg2rh+f8CvzD3wi1Z6tsmGqXk7hsbZNxXKNmk odsnzMYyG6XoYXgbCCP5YB2kTaY5rmnbK7+YnfuUVVXRhMVJ+H7cdrYQQjXWHkqbNQ3OgilMiij lV3Hki6IACh9yUttmcDIloZYqpAPyiofLeVUDpTCEEp2R04eV3v/5dd1BsCOF03hNOK3VW7oGsn jAFjm8EGNVlsUtflhJ2EFVBIzcAwvSl5W2DgTQ4YVsWbagkDrUyHan3BBT95tKBRC1WZhNnbhy1 krPLGwx24nNmdutspsaA87oc+7eLznLE2mnbz/F7wG7AcKtZ5SPCHGaBWuPAh8tBJzZ23mG1QLe DVfSmFGUIc0QzrD1DvBgoJrMlLh+sd5sxKgpLiVo/iOiauUDX X-Received: by 2002:a05:6122:459a:b0:55b:305b:4e31 with SMTP id 71dfb90a1353d-56347ffbc74mr4032652e0c.17.1767976919992; Fri, 09 Jan 2026 08:41:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdbScE9hXL2bKfmWaAIXgFKPZqtXyC/ZOYmGZRdu0PyNqNvoiVsgbd2DT32FJ5mEiTwd7eWw== X-Received: by 2002:a05:6122:459a:b0:55b:305b:4e31 with SMTP id 71dfb90a1353d-56347ffbc74mr4032646e0c.17.1767976919541; Fri, 09 Jan 2026 08:41:59 -0800 (PST) Received: from [192.168.1.3] (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5636c753392sm1267752e0c.6.2026.01.09.08.41.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 08:41:59 -0800 (PST) From: Brian Masney Date: Fri, 09 Jan 2026 11:41:16 -0500 Subject: [PATCH 03/13] MIPS: update include to use pic32.h from platform_data Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260109-mips-pic32-header-move-v1-3-99859c55783d@redhat.com> References: <20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com> In-Reply-To: <20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com> To: Thomas Bogendoerfer , Claudiu Beznea Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Brian Masney X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=2900; i=bmasney@redhat.com; s=20250903; h=from:subject:message-id; bh=nmpgAjLfAC87GKkiTxsZXklsE6NiSn+AfRFX+0wMF08=; b=owGbwMvMwCW2/dJd9di6A+2Mp9WSGDIT9Y+wx+9cGSC6TVJ8yZST0+QrZPYuV5kl7/BNydBD3 6X1X+jSjlIWBjEuBlkxRZYluUYFEamrbO/d0WSBmcPKBDKEgYtTACbys5Dhn2ag56XDD65yGV2f Z2m2z6LgL99KzVuqn7T0X0Z/2/JizlaG/zn6C4zVxa5UpHcVbZugsihKbNWCowKyola66uu9+gz +cQEA X-Developer-Key: i=bmasney@redhat.com; a=openpgp; fpr=A46D32705865AA3DDEDC2904B7D2DD275D7EC087 Use the linux/platform_data/pic32.h include instead of asm/mach-pic32/pic32.h so that the asm variant can be dropped. This is in preparation for allowing some drivers to be compiled on other architectures with COMPILE_TEST enabled. Signed-off-by: Brian Masney --- To: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- arch/mips/pic32/common/reset.c | 2 +- arch/mips/pic32/pic32mzda/config.c | 3 +-- arch/mips/pic32/pic32mzda/early_clk.c | 2 +- arch/mips/pic32/pic32mzda/early_console.c | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/mips/pic32/common/reset.c b/arch/mips/pic32/common/reset.c index a5fd7a8e2800ff06cfe8c0ed91c8ff6f5996750f..d4ad5dbd61c0d06fee2c9fef2af= 5c3a7c4312209 100644 --- a/arch/mips/pic32/common/reset.c +++ b/arch/mips/pic32/common/reset.c @@ -4,9 +4,9 @@ * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. */ #include +#include #include #include -#include =20 #define PIC32_RSWRST 0x10 =20 diff --git a/arch/mips/pic32/pic32mzda/config.c b/arch/mips/pic32/pic32mzda= /config.c index 73be5689e0dfb8b18c0a44ee860ca2786201471e..fc21cbc11f7d6b75b15e5c6747a= 1a5f34c1d5d8e 100644 --- a/arch/mips/pic32/pic32mzda/config.c +++ b/arch/mips/pic32/pic32mzda/config.c @@ -5,10 +5,9 @@ */ #include #include +#include #include =20 -#include - #include "pic32mzda.h" =20 #define PIC32_CFGCON 0x0000 diff --git a/arch/mips/pic32/pic32mzda/early_clk.c b/arch/mips/pic32/pic32m= zda/early_clk.c index 6001e507d8e398dee77eed071f0e53f708b57a61..ed8fa6e68b7b814bc184ee9bebd= dca08c20623c0 100644 --- a/arch/mips/pic32/pic32mzda/early_clk.c +++ b/arch/mips/pic32/pic32mzda/early_clk.c @@ -3,7 +3,7 @@ * Joshua Henderson * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. */ -#include +#include =20 #include "pic32mzda.h" =20 diff --git a/arch/mips/pic32/pic32mzda/early_console.c b/arch/mips/pic32/pi= c32mzda/early_console.c index 3cd1b408fa1cb039f917f2d92e82fd00d8a44574..1349c783cb640d1c0940db6deda= 77da882ff97fe 100644 --- a/arch/mips/pic32/pic32mzda/early_console.c +++ b/arch/mips/pic32/pic32mzda/early_console.c @@ -3,9 +3,9 @@ * Joshua Henderson * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. */ -#include #include #include +#include =20 #include "pic32mzda.h" #include "early_pin.h" --=20 2.52.0