diff --git a/config/pine64,pinetab.conf b/config/pine64,pinetab.conf new file mode 100644 index 0000000..986b23b --- /dev/null +++ b/config/pine64,pinetab.conf @@ -0,0 +1,62 @@ +Version = 1; +Make: "PINE64"; +Model: "PinePhone"; + +Rear: { + SensorDriver: "ov5640"; + BridgeDriver: "sun6i-csi"; + FlashPath: "/sys/class/leds/white:flash"; + IsoMin: 100; + IsoMax: 64000; + + Modes: ( + { + Width: 2592; + Height: 1944; + Rate: 15; + Format: "BGGR8"; + Rotate: 270; + FocalLength: 3.33; + FNumber: 3.0; + + Pipeline: ( + {Type: "Link", From: "ov5640", FromPad: 0, To: "sun6i-csi", ToPad: 0}, + {Type: "Mode", Entity: "ov5640", Width: 2592, Height: 1944, Format: "BGGR8"}, + ); + }, + { + Width: 1280; + Height: 720; + Rate: 30; + Format: "BGGR8"; + FocalLength: 3.33; + FNumber: 3.0; + + Pipeline: ( + {Type: "Link", From: "ov5640", FromPad: 0, To: "sun6i-csi", ToPad: 0}, + ); + + } + ); +}; + +Front: { + SensorDriver: "gc2145"; + BridgeDriver: "sun6i-csi"; + FlashDisplay: true; + + Modes: ( + { + Width: 1280; + Height: 960; + Rate: 60; + Format: "BGGR8"; + Rotate: 90; + Mirror: true; + + Pipeline: ( + {Type: "Link", From: "gc2145", FromPad: 0, To: "sun6i-csi", ToPad: 0}, + ); + } + ); +}; \ No newline at end of file diff --git a/config/purism,librem5.conf b/config/purism,librem5.conf new file mode 100644 index 0000000..16c6918 --- /dev/null +++ b/config/purism,librem5.conf @@ -0,0 +1,46 @@ +Version = 1; +Make: "Purism"; +Model: "Librem 5"; + +Rear: { + SensorDriver: "s5k3l6xx"; + BridgeDriver: "imx7-csi"; + + Modes: ( + { + Width: 4208; + Height: 3120; + Rate: 15; + Format: "GRBG8"; + Rotate: 0; + + # All the links on this platform are immutable + Pipeline: ( + {Type: "Mode", Entity: "imx8mq-mipi-csi2"}, + {Type: "Mode", Entity: "csi"}, + ); + }, + ); +}; + +Front: { + SensorDriver: "hi846"; + BridgeDriver: "imx7-csi"; + FlashDisplay: true; + + Modes: ( + { + Width: 1280; + Height: 960; + Rate: 60; + Format: "BGGR8"; + Rotate: 90; + Mirror: true; + + Pipeline: ( + {Type: "Mode", Entity: "imx8mq-mipi-csi2"}, + {Type: "Mode", Entity: "csi"}, + ); + } + ); +}; \ No newline at end of file