configurations: catalina: add scale and offset for P12V & P48V sensors

Add scale and offset for calibration on below sensors
- PDB_P12V_NIC0_CURR_A
- PDB_P12V_NIC0_PWR_W
- PDB_P12V_NIC1_CURR_A
- PDB_P12V_NIC1_PWR_W
- PDB_P12V_SCM_CURR_A
- PDB_P12V_SCM_PWR_W
- PDB_P48V_HSC1_CURR_A
- PDB_P48V_HSC1_PWR_W
- PDB_P48V_HSC2_CURR_A
- PDB_P48V_HSC2_PWR_W

Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I7d60ae27d043fb760b38bc198e39b217ad45f48e
diff --git a/configurations/meta/catalina_pdb.json b/configurations/meta/catalina_pdb.json
index 0f719d5..15cbcaf 100644
--- a/configurations/meta/catalina_pdb.json
+++ b/configurations/meta/catalina_pdb.json
@@ -516,8 +516,12 @@
             ],
             "Type": "INA238",
             "curr1_Name": "PDB_P12V_NIC0_CURR_A",
+            "curr1_Offset": -0.0002,
+            "curr1_Scale": 57.957575055,
             "in1_Name": "PDB_P12V_NIC0_VOLT_V",
             "power1_Name": "PDB_P12V_NIC0_PWR_W",
+            "power1_Offset": 0.0022,
+            "power1_Scale": 58031.56917363,
             "temp1_Name": "PDB_P12V_NIC0_TEMP_C"
         },
         {
@@ -550,8 +554,12 @@
             ],
             "Type": "INA238",
             "curr1_Name": "PDB_P12V_NIC1_CURR_A",
+            "curr1_Offset": 0.0004,
+            "curr1_Scale": 54.083288264,
             "in1_Name": "PDB_P12V_NIC1_VOLT_V",
             "power1_Name": "PDB_P12V_NIC1_PWR_W",
+            "power1_Offset": 0.0032,
+            "power1_Scale": 54077.438892494,
             "temp1_Name": "PDB_P12V_NIC1_TEMP_C"
         },
         {
@@ -584,8 +592,12 @@
             ],
             "Type": "INA238",
             "curr1_Name": "PDB_P12V_SCM_CURR_A",
+            "curr1_Offset": 8e-05,
+            "curr1_Scale": 51.030822617,
             "in1_Name": "PDB_P12V_SCM_VOLT_V",
             "power1_Name": "PDB_P12V_SCM_PWR_W",
+            "power1_Offset": -0.0102,
+            "power1_Scale": 50875.050875051,
             "temp1_Name": "PDB_P12V_SCM_TEMP_C"
         },
         {
@@ -699,7 +711,11 @@
             ],
             "Type": "LTC4287",
             "iout1_Name": "PDB_P48V_HSC1_CURR_A",
+            "iout1_Offset": -0.1819,
+            "iout1_Scale": 1061.796559779,
             "pin_Name": "PDB_P48V_HSC1_PWR_W",
+            "pin_Offset": -8.9115,
+            "pin_Scale": 1062699.256110521,
             "temp1_Name": "PDB_P48V_HSC1_TEMP_C",
             "vin_Name": "PDB_P48V_HSC1_VIN_VOLT_V",
             "vout1_Name": "PDB_P48V_HSC1_VOUT_VOLT_V"
@@ -767,7 +783,11 @@
             ],
             "Type": "LTC4287",
             "iout1_Name": "PDB_P48V_HSC2_CURR_A",
+            "iout1_Offset": -0.274,
+            "iout1_Scale": 1053.907361543,
             "pin_Name": "PDB_P48V_HSC2_PWR_W",
+            "pin_Offset": -13.862,
+            "pin_Scale": 1054129.552522005,
             "temp1_Name": "PDB_P48V_HSC2_TEMP_C",
             "vin_Name": "PDB_P48V_HSC2_VIN_VOLT_V",
             "vout1_Name": "PDB_P48V_HSC2_VOUT_VOLT_V"
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 22e1e5f..8b61fc2 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -845,6 +845,12 @@
                 "fan1_Name": {
                     "$ref": "#/$defs/Types/fan1_Name"
                 },
+                "curr1_Offset": {
+                    "$ref": "#/$defs/Types/curr1_Offset"
+                },
+                "power1_Offset": {
+                    "$ref": "#/$defs/Types/power1_Offset"
+                },
                 "iout1_Offset": {
                     "$ref": "#/$defs/Types/iout1_Offset"
                 },
@@ -854,6 +860,12 @@
                 "pin_Offset": {
                     "$ref": "#/$defs/Types/pin_Offset"
                 },
+                "curr1_Scale": {
+                    "$ref": "#/$defs/Types/curr1_Scale"
+                },
+                "power1_Scale": {
+                    "$ref": "#/$defs/Types/power1_Scale"
+                },
                 "iout1_Scale": {
                     "$ref": "#/$defs/Types/iout1_Scale"
                 },
@@ -1859,6 +1871,12 @@
             "fan1_Name": {
                 "type": "string"
             },
+            "curr1_Offset": {
+                "type": "number"
+            },
+            "power1_Offset": {
+                "type": "number"
+            },
             "iout1_Offset": {
                 "type": "number"
             },
@@ -1868,6 +1886,12 @@
             "pin_Offset": {
                 "type": "number"
             },
+            "curr1_Scale": {
+                "type": "number"
+            },
+            "power1_Scale": {
+                "type": "number"
+            },
             "iout1_Scale": {
                 "type": "number"
             },