Edited to fit the new question:
You can not change the PPI (or dpi) settings on your camera. Normally they declare 72 PPI, 96, or some do not declare it at all.
The thing you can do is declare the resolution on your canvas in Photoshop to fit the one your camera is declaring, before loading a photo.
So, the main part of this question is about the configuration of a Photoshop file.
The previous answer (Was totally different, so this part looks out of place)
You are really confusing different things here.
1) PPI
DPI is in reality a unit used in printers to define how small the dots are (and how many dots can be in an inch)
In photography, the unit is not a dot (per inch), but a pixel (per inch). The number you are referring to, 300, is this unit: PPI, and it is a relationship between the actual pixels of an image and the physical print size.
Here are 2 photos:
One is about 700 ppi and the other is 10 ppi.
In terms of image size on screen, or photos taken out of a camera they are the same.
PPI is just a number inside the photo and it's only used in print or when viewing the metadata using the software. It has no meaning in the photo itself.
2) Photo resolution.
Some High-end cameras cost several thousand dollars and can go for some 100 Megapixels or more.
Very big files.
3) Composite images.
There are some techniques that combine different photos of smaller sections, into one stitching them. They are often used on astronomy, where the telescope has a limited resolution.
One example is the Andromeda galaxy by the Hubble.
https://www.nasa.gov/sites/default/files/thumbnails/image/hs-2015-02-a-hires_jpg.jpg
or: http://360gigapixels.com/london-320-gigapixel-panorama/ 320 gigapixels.