Are freckles a independent entity?

are freckles a independent entity ? Or always associated with Xeroderma pigmentosum?
Xeroderma has autosmal recessive inheritance . In one question in derma q bank they have asked inheritance of freckles, in particular.

Freckles can be seen independently as well and also in other disorders like NF1.

thanks , independently is it Autosomal dominant?

NF1 characteristic feature are frekel in axilla

Several pigmented skin disorders such as dyschromatosis symmetrica hereditaria, xeroderma pigmentosum, and cutaneous malignant melanoma are associated with freckles. However, freckles mainly occur as an independent trait, and most cases with freckles have no other abnormalities. Freckles are transmitted as an autosomal dominant trait. Thank you.