[i.MX8DXL, SCFW] Does imx8dxl scfw have release

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[i.MX8DXL, SCFW] Does imx8dxl scfw have release

853 Views
jianwei_lan
Contributor III

Dear friend

The platform I am evaluating is i.MX8DXL on EVK. I follow below command to get yocto and compile:

<--

1) repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-zeus -m imx-5.4.70-2.3.0.xml
2) repo sync -c -j7

3) DISTRO=fsl-imx-xwayland MACHINE=imx8dxlevk source imx-setup-release.sh -b build

4) export BB_NUMBER_THREADS=1; bitbake core-image-minimal

-->

After the build, ‘build/tmp/work/imx8dxlevk-poky-linux/imx-sc-firmware/1.7.0-r0’ was found, so the SCFW version is 1.7.0-r0; 

I download imx-scfw-porting-kit-1.7.0.tar.gz found that the scfw does not found PF7100 but PF8100 driver. 

Question:Where can I get PF7100 driver for SCFW ? 

 

 

----

BR

 

 

 

 

0 Kudos
3 Replies

816 Views
igorpadykov
NXP Employee
NXP Employee

Hi jianwei_lan

 

unfortunately currently PF7100 driver for SCFW is not available, sorry.

 

Best regards
igor

 

 

0 Kudos

850 Views
igorpadykov
NXP Employee
NXP Employee

Hi jianwei_lan

 

for PF7100 one can try to re-use the PF8100 driver :

 

Src\scfw_export_mx8qx_b0\platform\board\pmic.h
/*!
* @name Defines for PMIC configuration
*/
/*@{*/
#define PF7X00_FAM_ID           0x80U
//add follows
#define PF7X00_AUTOQM_ID           0x80U
#define PF7X00_ASILB_ID           0x88U
#define PF7X00_INDUQM_ID           0x84U
//end

 

Src\scfw_export_mx8qx_b0\platform\board\pmic.c
/*--------------------------------------------------------------------------*/
/* Determine PMIC type at address                                           */
/*--------------------------------------------------------------------------*/
static sc_err_t get_pmic_type(pmic_id_t id)
{
¡­
        case PF8100_DEV_ID :
        case PF7X00_AUTOQM_ID : //let pf7100 to use PF8100 driver
       case PF7X00_ASILB_ID : //let pf7100 to use PF8100 driver
       case PF7X00_INDUQM_ID: //let pf7100 to use PF8100 driver
            PMIC_TYPE = PF8100;
            break;
        case PF8200_DEV_ID :
            PMIC_TYPE = PF8200;
            break;
¡­
 
Src\scfw_export_mx8qx_b0\platform\board\mx8qx_mek
/*--------------------------------------------------------------------------*/
/* Get the pmic ids and switchers connected to SS.                          */
/*--------------------------------------------------------------------------*/
static void board_get_pmic_info(sc_sub_t ss, uint32_t *pmic_reg,
    uint8_t *num_regs)
{
    /* Map SS/PD to PMIC switch */
    switch (ss)
    {
        case SC_SUBSYS_A35 :
            pmic_init();
            *pmic_reg = PF8100_SW2; // PF7100 SW2 is used for CPU and GPU power
            *num_regs = 1U;
            break;
/*
        case SC_SUBSYS_GPU_0 :
            pmic_init();
            *pmic_reg = PF8100_SW3;
            *num_regs = 1U;
            break;
*/
        default:
            ; /* Intentional empty default */
            break;
    }
}

 

Best regards
igor

 

0 Kudos

835 Views
jianwei_lan
Contributor III

Dear friend

Thank for your kindly help.

 

Does NXP have release PF7100 driver that support i.MX8DXL?

 

----

BR

0 Kudos