Jump to content

Thomas

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Thomas

  1. You can modify /boo/dtb/*Banana*.dtb

    use tool dtc extract *dtb to dos : sudo dtc -I dtb -O dts your_board.dtb -o your_borad.dts

    open dos, and find 'pwm@'

     

    like this 

                    pwm@01c20e00 {
                            compatible = "allwinner,sun7i-a20-pwm";
                            reg = <0x1c20e00 0xc>;
                            clocks = <0xb>;
                            #pwm-cells = <0x3>;
                            status = "okay";
                            pinctrl-names = "default";
                            pinctrl-0 = <0x35 0x36>;
                    };
     

     

     

  2. I'm glad that it finally worked.

     

    udev, I guess? (based on comments in spidev.c and kernel spidev documentation)

    dev = device_create(spidev_class, &spi->dev, spidev->devt,
       spidev, "spidev%d.%d",   spi->master->bus_num, spi->chip_select);

    bus_num: 32766

    chip_select: 0

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines