Posts by ipaul

    Hello,

    I have a QINTEX-Q912 box with Amlogic S912 and hbs658.

    Is openvfd supposed to work with hbs658 ?

    I got it working with bellow parameters, and the HBS658 controller is properly selected.

    vfd_gpio_clk='0,76,0x10'

    vfd_gpio_dat='0,75,0x10'

    vfd_gpio_stb='0,0,0xFF'

    vfd_chars='4,0,1,2,3'

    vfd_dot_bits='0,1,2,3,4,5,6'

    vfd_display_type='0x06,0x00,0x00,0x04'

    The dmesg looks like this:

    2445.369925] OpenVFD: Detected gpio chips: periphs-banks, aobus-banks.

    [ 2445.369929] OpenVFD: is_right_chip periphs-banks | periphs-banks | 0

    [ 2445.375018] OpenVFD: "periphs-banks" chip found. base = 401, pin count = 100, pin = 76, offset = 477

    [ 2445.375021] OpenVFD: is_right_chip periphs-banks | periphs-banks | 0

    [ 2445.381301] OpenVFD: "periphs-banks" chip found. base = 401, pin count = 100, pin = 75, offset = 476

    [ 2445.381305] OpenVFD: Skipping vfd_gpio_stb evaluation (0xFF)

    [ 2445.381306] OpenVFD: Skipping vfd_gpio0 evaluation (0xFF)

    [ 2445.381308] OpenVFD: Skipping vfd_gpio1 evaluation (0xFF)

    [ 2445.381310] OpenVFD: Skipping vfd_gpio2 evaluation (0xFF)

    [ 2445.381312] OpenVFD: Skipping vfd_gpio3 evaluation (0xFF)

    [ 2445.382999] OpenVFD: register_openvfd_driver: Succeeded to add openvfd module

    [ 2445.388762] OpenVFD: Select HBS658 controller

    [ 2445.388835] OpenVFD: SW I2C interface intialized (address = 0x0000 (N/A), LSB mode, pull-ups on)

    Thank you,

    Paul

    Hello,

    I have a QINTEX-Q912 box with Amlogic S912 and hbs658.

    Is openvfd supposed to work with hbs658 ?

    In the original dtb, i found only info about two gpios:

    hbs658 {

    compatible = "amlogic, hbs658";

    dev_name = "hbs658";

    status = "okay";

    gpio-scl = <0x24 0x4c 0x00>;

    gpio-sda = <0x24 0x4b 0x00>;

    };

    I suspect these are for vfd_gpio_clk and vfd_gpio_dat, but I could not find the one for vfd_gpio_stb.

    Thank you,

    Paul

    P.S. I attached the full dtc of the box