From d48919ab0bfb7ff924c2200e011c0b3af1bfa6e7 Mon Sep 17 00:00:00 2001 From: Annie_wang Date: Thu, 3 Aug 2023 20:41:59 +0800 Subject: [PATCH] update docs Signed-off-by: Annie_wang --- en/device-dev/Readme-EN.md | 1 - .../driver/driver-peripherals-audio-des.md | 26 +++++++++---------- en/device-dev/kernel/Readme-EN.md | 1 - en/device-dev/subsystems/Readme-EN.md | 1 - 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/en/device-dev/Readme-EN.md b/en/device-dev/Readme-EN.md index 34f88884db..bdc67baaa1 100644 --- a/en/device-dev/Readme-EN.md +++ b/en/device-dev/Readme-EN.md @@ -34,7 +34,6 @@ - [Kernel for the Standard System](kernel/kernel-standard-overview.md) - [Driver](driver/Readme-EN.md) - [Compilation and Building](subsystems/subsys-build-all.md) - - [Distributed Remote Startup](subsystems/subsys-remote-start.md) - [Graphics](subsystems/subsys-graphics-overview.md) - [Multimedia](subsystems/subsys-multimedia-camera-overview.md) - [Utils](subsystems/subsys-utils-guide.md) diff --git a/en/device-dev/driver/driver-peripherals-audio-des.md b/en/device-dev/driver/driver-peripherals-audio-des.md index 150f968593..c9aea7010c 100644 --- a/en/device-dev/driver/driver-peripherals-audio-des.md +++ b/en/device-dev/driver/driver-peripherals-audio-des.md @@ -192,8 +192,8 @@ struct AudioDaiOps g_codecDaiDeviceOps = { }; struct DaiData g_codecDaiData = { - .DaiInit = CodecDaiDeviceInit, // Initialize the codec DAI device (need to be implemented for a new platform). - .ops = &g_codecDaiDeviceOps, // Codec DAI device operation function set. + .DaiInit = CodecDaiDeviceInit,// Initialize the codec DAI device (need to be implemented for a new platform). + .ops = &g_codecDaiDeviceOps, // Codec DAI device operation function set. }; ``` @@ -378,13 +378,13 @@ The code snippet is as follows: audio :: host { device_codec :: device { device0 :: deviceNode { - policy = 1; // The codec module provides services only for the kernel. - priority = 50; // The codec module must be loaded before the load of the HDF_AUDIO module. + policy = 1; // The codec module provides services only for the kernel. + priority = 50; // The codec module must be loaded before the load of the HDF_AUDIO module. preload = 0; permission = 0666; - moduleName = "CODEC_HI3516"; // The value must be the same as moduleName in HdfDriverEntry. - serviceName = "codec_service_0"; // Name of the service provided externally. - deviceMatchAttr = "hdf_codec_driver"; // Name of the private attribute, which is used to match the corresponding private data (including the register configuration). + moduleName = "CODEC_HI3516"; // The value must be the same as moduleName in HdfDriverEntry. + serviceName = "codec_service_0"; // Name of the service provided externally. + deviceMatchAttr = "hdf_codec_driver"; // Name of the private attribute, which is used to match the corresponding private data (including the register configuration). } } ``` @@ -403,12 +403,12 @@ root { // Set the private data attribute name, which must be the same as the deviceMatchAttr in device_info.hcs. match_attr = "hdf_audio_driver_1"; serviceName = "hdf_audio_codec_primary_dev11"; // Name of the service provided externally. - codecName = "codec_service_1"; // Codec service name. - platformName = "dma_service_0"; // DMA service. - cpuDaiName = "dai_service"; // CPU DAI service. - codecDaiName = "tfa9879_codec_dai"; // Codec DAI service. - dspName = "dsp_service_0"; // DSP service name. - dspDaiName = "dsp_dai"; // DSP DAI. + codecName = "codec_service_1"; // Codec service name. + platformName = "dma_service_0"; // DMA service. + cpuDaiName = "dai_service"; // CPU DAI service. + codecDaiName = "tfa9879_codec_dai"; // Codec DAI service. + dspName = "dsp_service_0"; // DSP service name. + dspDaiName = "dsp_dai"; // DSP DAI. } } } diff --git a/en/device-dev/kernel/Readme-EN.md b/en/device-dev/kernel/Readme-EN.md index 3e041a3f02..d786921022 100644 --- a/en/device-dev/kernel/Readme-EN.md +++ b/en/device-dev/kernel/Readme-EN.md @@ -1,6 +1,5 @@ # Kernel -- Kernel - [Kernel Overview](kernel-overview.md) - Mini-System Kernel (LiteOS-M) - [LiteOS-M Overview](kernel-mini-overview.md) diff --git a/en/device-dev/subsystems/Readme-EN.md b/en/device-dev/subsystems/Readme-EN.md index fda961faa2..3c263e691e 100644 --- a/en/device-dev/subsystems/Readme-EN.md +++ b/en/device-dev/subsystems/Readme-EN.md @@ -24,7 +24,6 @@ - [Using Cargo2gn](subsys-build-cargo2gn-guide.md) - [FAQs](subsys-build-FAQ.md) - [ArkCompiler Development](subsys-arkcompiler-guide.md) -- [Distributed Remote Startup](subsys-remote-start.md) - Graphics - [Graphics Overview](subsys-graphics-overview.md) - [Common Component Development](subsys-graphics-common-guide.md) -- GitLab