How does the patent law stipulate patent donation?

The patent does not provide for donation, but only for giving up the patent right. Then giving up the patent right means that it can be used free of charge all over the world without paying an annual fee; You can also donate in a targeted way. For example, it is often heard that people donate patented technology to disaster areas, so it should only be used free of charge in limited areas, users in other areas should also pay fees, and patentees should also pay annual patent fees.