Loading Documentation/devicetree/bindings/arm/msm/android.txt +32 −0 Original line number Diff line number Diff line Loading @@ -116,3 +116,35 @@ Example: }; }; }; metadata: ----------------- metadata partition specification. Required properties: -compatible: "android, metadata" -dev: block device corresponding to metadata partition -type: file system type of metadata partition -mnt_flags: mount flags -fsmgr_flags: fsmgr flags Example: firmware: firmware { android { compatible = "android,metadata"; fstab { compatible = "android,fstab"; metadata { compatible = "android,metadata"; dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/metadata"; type = "ext4"; mnt_flags = "ro,barrier=1,discard"; fsmgr_flags = "wait,slotselect"; status = "ok"; }; }; }; }; arch/arm64/boot/dts/qcom/sa8155.dtsi +10 −0 Original line number Diff line number Diff line Loading @@ -717,5 +717,15 @@ status="disabled"; }; &android_q_fstab { metadata { compatible = "android,metadata"; status = "ok"; type = "ext4"; mnt_flags = "noatime,nosuid,nodev,discard"; fsmgr_flags = "wait,formattable,first_stage_mount"; }; }; #include "sa8155-audio.dtsi" #include "sa8155-camera-sensor.dtsi" Loading
Documentation/devicetree/bindings/arm/msm/android.txt +32 −0 Original line number Diff line number Diff line Loading @@ -116,3 +116,35 @@ Example: }; }; }; metadata: ----------------- metadata partition specification. Required properties: -compatible: "android, metadata" -dev: block device corresponding to metadata partition -type: file system type of metadata partition -mnt_flags: mount flags -fsmgr_flags: fsmgr flags Example: firmware: firmware { android { compatible = "android,metadata"; fstab { compatible = "android,fstab"; metadata { compatible = "android,metadata"; dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/metadata"; type = "ext4"; mnt_flags = "ro,barrier=1,discard"; fsmgr_flags = "wait,slotselect"; status = "ok"; }; }; }; };
arch/arm64/boot/dts/qcom/sa8155.dtsi +10 −0 Original line number Diff line number Diff line Loading @@ -717,5 +717,15 @@ status="disabled"; }; &android_q_fstab { metadata { compatible = "android,metadata"; status = "ok"; type = "ext4"; mnt_flags = "noatime,nosuid,nodev,discard"; fsmgr_flags = "wait,formattable,first_stage_mount"; }; }; #include "sa8155-audio.dtsi" #include "sa8155-camera-sensor.dtsi"