From mboxrd@z Thu Jan 1 00:00:00 1970 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 3CBA53659F8 for ; Fri, 9 Jan 2026 17:14:39 +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=1767978881; cv=none; b=Mpgqdtcv08145SMCSnSej3GEzxryn/2NkGVF/RufMI02zVIruWWiYYhPfUkQKfmO6/K2Bbvv1VvNNi5jGGnNco0jf/DHviCqo016bXf2rkvSrvjaWXRxyCb1lhfPfW42uQiXynJ54SbyLsjYtF1uA1BQGHrSOs+bp5xfwFqM2+Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767978881; c=relaxed/simple; bh=F7zcGk8nCH165bG+Lq3YX1vuc4Qm0989LRhZOuxR4Qo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=diI8/NK0jyLhe5HLktmrd9Kr70xMGeRsUONAA1j0gCabAZjNVdFqzHJI4FuZkFn2TkhrQ0G6YXzOv7JjuB3UAgCKjVg6PSwTXvlbVhkRLbhW127JDLsENZQ4YHcd2/ZE/5GZi8mqkuYw71A0W98otPbizYHUZDdt8TUfeR76PjI= 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=AeazqGNL; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=MSgb6EGe; 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="AeazqGNL"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="MSgb6EGe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767978878; 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: in-reply-to:in-reply-to:references:references; bh=lSDwbxYjO8+HiZzQaZwthav/1dzwRPtawpHAGU+oOsQ=; b=AeazqGNLs6R9hsYax8J58O6snCHIdtbsEJk1z0dRPN475Xe1WGO5ZUHkINc8KhEaLBK+GW TDBBTRf86svvG2oqDSYgJeBd7jZNiKFwXp8VfHcOH/s3jbk+UCrZChaqWNH+Hr92yvuCpe SCu7SptAfa3McqUjlMhzI9DIFue76iw= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-274-plof47dHPe-a2NMc2fd2jA-1; Fri, 09 Jan 2026 12:14:37 -0500 X-MC-Unique: plof47dHPe-a2NMc2fd2jA-1 X-Mimecast-MFC-AGG-ID: plof47dHPe-a2NMc2fd2jA_1767978876 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8b22d590227so552089985a.1 for ; Fri, 09 Jan 2026 09:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1767978876; x=1768583676; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=lSDwbxYjO8+HiZzQaZwthav/1dzwRPtawpHAGU+oOsQ=; b=MSgb6EGeh8JT3IbLKfH4m6CAu+Js0nnr3SoBBcPnaQU8c1LnlqRh1dGBm9UK3849GL 2F7fHF6f+YV5RlJvlmFgwUQN2M+IU2WfowHmtq1jXIXe8uuq9sEdgcYeVofDRiGmqM3U SrvQ204jUXmCTbbJxynwSK4pTs947d9OH2xnBOqvA1dOz19pG2opZc2dPapF3Okos/lE LrXpNVOnOFrkUlSgyTrFHN/Zbm/Jg2uNz1iyOVmaEOuorO2ViVR2J3IeGdOVbAHu9chp OwBqDmZ3LcTj/kYzGtSXQ0PDWqpHXJMTnce1o0WPxR4UY+C2dncvyGK61g1s3Ceb5Qgt UM3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767978876; x=1768583676; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lSDwbxYjO8+HiZzQaZwthav/1dzwRPtawpHAGU+oOsQ=; b=lAm2OcHmribkZAFRKQxrzH3KlLHlFUAxIqhTSJBvEm4F+/rsoouh3MXYVkZikUNwQj kEr7o6URoRHWAQXeKIMSbkNYRragZKTGQccXwkB53Jd2TsVhHHE1HqCCMGmKRdr3cITK d05BMsZLOzC1A6mCNnTxZQYsZa5o8hv17X+xR8h6OOXYg+UyCfXIAstdgUqVCnSd9QoB 2hhnr67jsreqP2O6k6sn5wOcwr7v4N03LWl/QsrsN4m5KnjC9TVM880m6a3TboVFMPd6 2yAbcB5PEf3n+0iwsEgrGPhKSnjTvGOsfTWWKVAUn2Ppbj04Lmsz/WwNdjYYMOzily95 nirw== X-Forwarded-Encrypted: i=1; AJvYcCWTPAgo4vhFfCVvnt2lWBn9gYegP7COFsC+Ie20VdeGML/dzgqdV9FjAijNJV3WIY1Tv1uhkn/kM44=@vger.kernel.org X-Gm-Message-State: AOJu0YxJm4CtkQpJvxgVW3KFteODsfRy0ercGNjaBpgobfmFqfRsLkvZ yQnvEHvOBBmkqCxlLFbLkae+0kOiYY2t/Nb8VP655aAfDLF66sIFDew73HMGiqaN+Sj7XE8ZGmJ cFbhYcnZHeHccDuw8H1XOb2Gznx3312IldNMsuzgoboPaFDcNph59HIvYfmGFZQ== X-Gm-Gg: AY/fxX7f0aBd6XcO/NW8e4jcoiayu1RyAIj7c0zFZ0KrzkvBN+iwHg0h+M8d/qrPedI KPaMHmM3up6SwhxuoJHStYixCdyaebbdE137+/SyUkEUdU09IhaTKG4FSHw1hVfNUrONNy9hRD1 KKPM3hbSK2uTw5bS3q7EUcOSKsBme52mL5t3wk/ZZc8qbyGwBp4y8bHy3M+6Ta9BvWf31JW81ex 1n4iC/kO3Ob9nsyz8/xZPHJybFFThhEAFWuq86Eo50tI7A6+GPuviVvBlrjaOe5k8slx1LpB29P KkGCRKIwr3mwoNQg/dB5Hwb6ox8SJ71iRakoP5S/1Rkamqe5nJIcEEc/aeL8yh5hmJcsXls85oJ +udLBiAaQs7qGW3kizsPt/PFqHrTJwsZAn1/6UqKEHshA X-Received: by 2002:a05:620a:4109:b0:8bb:a675:aa61 with SMTP id af79cd13be357-8c3893fbb30mr1217152385a.79.1767978876358; Fri, 09 Jan 2026 09:14:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHotayWWfWtWeRCvw1eejr8Fm0argOz9TlIuQkrGTqEF91Uo7p3dq/qiwtr88DHNoO1lgXL4w== X-Received: by 2002:a05:620a:4109:b0:8bb:a675:aa61 with SMTP id af79cd13be357-8c3893fbb30mr1217146085a.79.1767978875890; Fri, 09 Jan 2026 09:14:35 -0800 (PST) Received: from redhat.com (c-73-183-52-120.hsd1.pa.comcast.net. [73.183.52.120]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-8907726041fsm82384206d6.45.2026.01.09.09.14.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Jan 2026 09:14:35 -0800 (PST) Date: Fri, 9 Jan 2026 12:14:33 -0500 From: Brian Masney To: Thomas Bogendoerfer , Claudiu Beznea Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Thomas Gleixner , Adrian Hunter , Ulf Hansson , linux-mmc@vger.kernel.org, Linus Walleij , linux-gpio@vger.kernel.org, Alexandre Belloni , linux-rtc@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org Subject: Re: [PATCH 00/13] MIPS: move pic32.h header file from asm to platform_data Message-ID: References: <20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com> User-Agent: Mutt/2.2.14 (2025-02-20) On Fri, Jan 09, 2026 at 11:41:13AM -0500, Brian Masney wrote: > There are currently some pic32 MIPS drivers that are in tree, and are > only configured to be compiled on the MIPS pic32 platform. There's a > risk of breaking some of these drivers when migrating drivers away from > legacy APIs. It happened to me with a pic32 clk driver. > > Let's go ahead and move the pic32.h from the asm to the platform_data > include directory in the tree. This will make it easier, and cleaner to > enable COMPILE_TEST for some of these pic32 drivers. > > I included a patch at the end that shows enabling COMPILE_TEST for a > pic32 clk driver. I didn't CC everyone on patch 1 to this series that copes pic32.h from the MIPS ASM directory to linux/platform_data/pic32.h. It's available at the following location if you want to see it: https://lore.kernel.org/linux-mips/20260109-mips-pic32-header-move-v1-0-99859c55783d@redhat.com/T/#m1e0e50adfe2ea4bf430025660fada7b1468d0fbf Patch 12 of this series is where I remove the asm variant of pic32.h. Brian