public inbox for kernelnewbies@kernelnewbies.org
 help / color / mirror / Atom feed
* Separating driver and documentation changes
@ 2024-08-22  8:29 Patryk Biel
  2024-08-22  9:12 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Patryk Biel @ 2024-08-22  8:29 UTC (permalink / raw)
  To: kernelnewbies

Hi
I'm going to send a patch that extends existing driver with support for a new
variant of the existing device. The changes in the drivr code are rather
small, around 100 lines of code. Apart from the driver changes I
would like to also update Documentation/devicetree/bindings for this
driver to add the information about the new supported variant. Should I
split the changes and send them separately? If so, how can I make sure
that the documentation changes won't be merged to kernel source tree
until the drive's modifications are merged? (if ofc maintainer decides
to integrate them).

Best regards 
Patryk

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Separating driver and documentation changes
  2024-08-22  8:29 Separating driver and documentation changes Patryk Biel
@ 2024-08-22  9:12 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-08-22  9:12 UTC (permalink / raw)
  To: Patryk Biel; +Cc: kernelnewbies

On Thu, Aug 22, 2024 at 10:29:32AM +0200, Patryk Biel wrote:
> Hi
> I'm going to send a patch that extends existing driver with support for a new
> variant of the existing device. The changes in the drivr code are rather
> small, around 100 lines of code. Apart from the driver changes I
> would like to also update Documentation/devicetree/bindings for this
> driver to add the information about the new supported variant. Should I
> split the changes and send them separately? If so, how can I make sure
> that the documentation changes won't be merged to kernel source tree
> until the drive's modifications are merged? (if ofc maintainer decides
> to integrate them).

Make it a patch series, first patch does the bindings change and the
second does the driver change.  You will find thousands of examples of
people doing this on the development mailing lists, it's the preferred
way.

good luck!

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-22  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22  8:29 Separating driver and documentation changes Patryk Biel
2024-08-22  9:12 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox