Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    A133 芯片 io 调试

    其它全志芯片讨论区
    a133 io debug
    2
    5
    2271
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • U
      uuuuid LV 6 last edited by uuuuid

      mount -t debugfs none /sys/kernel/debug
      

      参考: D1_Linux_GPIO_开发指南.pdf

      1 Reply Last reply Reply Quote Share 0
      • U
        uuuuid LV 6 last edited by whycan

        mount -t debugfs none /sys/kernel/debug
        cat /sys/kernel/debug/pinctrl/pio/pinmux-pins

        root@dragonboard:~# cat /sys/kernel/debug/pinctrl/pio/pinmux-pins
        Pinmux settings per pin
        Format: pin (name): mux_owner gpio_owner hog?
        pin 32 (PB0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 33 (PB1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 34 (PB2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 35 (PB3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 36 (PB4): ء▒▒▒▒ (GPIO UNCLAIMED) function io_disabled group PB4
        pin 37 (PB5): ء▒▒▒▒ (GPIO UNCLAIMED) function io_disabled group PB5
        pin 38 (PB6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 39 (PB7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 40 (PB8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 41 (PB9): uart0 (GPIO UNCLAIMED) function uart0 group PB9
        pin 42 (PB10): uart0 (GPIO UNCLAIMED) function uart0 group PB10
        pin 64 (PC0): sdc2 (GPIO UNCLAIMED) function sdc2 group PC0
        pin 65 (PC1): sdc2 (GPIO UNCLAIMED) function sdc2 group PC1
        pin 66 (PC2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 67 (PC3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 68 (PC4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 69 (PC5): sdc2 (GPIO UNCLAIMED) function sdc2 group PC5
        pin 70 (PC6): sdc2 (GPIO UNCLAIMED) function sdc2 group PC6
        pin 71 (PC7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 72 (PC8): sdc2 (GPIO UNCLAIMED) function sdc2 group PC8
        pin 73 (PC9): sdc2 (GPIO UNCLAIMED) function sdc2 group PC9
        pin 74 (PC10): sdc2 (GPIO UNCLAIMED) function sdc2 group PC10
        pin 75 (PC11): sdc2 (GPIO UNCLAIMED) function sdc2 group PC11
        pin 76 (PC12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 77 (PC13): sdc2 (GPIO UNCLAIMED) function sdc2 group PC13
        pin 78 (PC14): sdc2 (GPIO UNCLAIMED) function sdc2 group PC14
        pin 79 (PC15): sdc2 (GPIO UNCLAIMED) function sdc2 group PC15
        pin 80 (PC16): sdc2 (GPIO UNCLAIMED) function sdc2 group PC16
        pin 96 (PD0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 97 (PD1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 98 (PD2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 99 (PD3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 100 (PD4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 101 (PD5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 102 (PD6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 103 (PD7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 104 (PD8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 105 (PD9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 106 (PD10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 107 (PD11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 108 (PD12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 109 (PD13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 110 (PD14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 111 (PD15): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 112 (PD16): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 113 (PD17): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 114 (PD18): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 115 (PD19): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 116 (PD20): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 117 (PD21): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 118 (PD22): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 119 (PD23): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 128 (PE0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 129 (PE1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 130 (PE2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 131 (PE3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 132 (PE4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 133 (PE5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 134 (PE6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 135 (PE7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 136 (PE8): (MUX UNCLAIMED) pio:136
        pin 137 (PE9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 160 (PF0): sdc0 (GPIO UNCLAIMED) function io_disabled group PF0
        pin 161 (PF1): sdc0 (GPIO UNCLAIMED) function io_disabled group PF1
        pin 162 (PF2): sdc0 (GPIO UNCLAIMED) function io_disabled group PF2
        pin 163 (PF3): sdc0 (GPIO UNCLAIMED) function io_disabled group PF3
        pin 164 (PF4): sdc0 (GPIO UNCLAIMED) function io_disabled group PF4
        pin 165 (PF5): sdc0 (GPIO UNCLAIMED) function io_disabled group PF5
        pin 166 (PF6): (MUX UNCLAIMED) pio:166
        pin 192 (PG0): sdc1 (GPIO UNCLAIMED) function sdc1 group PG0
        pin 193 (PG1): sdc1 (GPIO UNCLAIMED) function sdc1 group PG1
        pin 194 (PG2): sdc1 (GPIO UNCLAIMED) function sdc1 group PG2
        pin 195 (PG3): sdc1 (GPIO UNCLAIMED) function sdc1 group PG3
        pin 196 (PG4): sdc1 (GPIO UNCLAIMED) function sdc1 group PG4
        pin 197 (PG5): sdc1 (GPIO UNCLAIMED) function sdc1 group PG5
        pin 198 (PG6): uart1 (GPIO UNCLAIMED) function uart1 group PG6
        pin 199 (PG7): uart1 (GPIO UNCLAIMED) function uart1 group PG7
        pin 200 (PG8): uart1 (GPIO UNCLAIMED) function uart1 group PG8
        pin 201 (PG9): uart1 (GPIO UNCLAIMED) function uart1 group PG9
        pin 202 (PG10): (MUX UNCLAIMED) pio:202
        pin 203 (PG11): (MUX UNCLAIMED) pio:203
        pin 204 (PG12): (MUX UNCLAIMED) pio:204
        pin 205 (PG13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 224 (PH0): gmac0 (GPIO UNCLAIMED) function gmac0 group PH0
        pin 225 (PH1): gmac0 (GPIO UNCLAIMED) function gmac0 group PH1
        pin 226 (PH2): gmac0 (GPIO UNCLAIMED) function gmac0 group PH2
        pin 227 (PH3): gmac0 (GPIO UNCLAIMED) function gmac0 group PH3
        pin 228 (PH4): gmac0 (GPIO UNCLAIMED) function gmac0 group PH4
        pin 229 (PH5): gmac0 (GPIO UNCLAIMED) function gmac0 group PH5
        pin 230 (PH6): gmac0 (GPIO UNCLAIMED) function gmac0 group PH6
        pin 231 (PH7): gmac0 (GPIO UNCLAIMED) function gmac0 group PH7
        pin 232 (PH8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 233 (PH9): gmac0 (GPIO UNCLAIMED) function gmac0 group PH9
        pin 234 (PH10): gmac0 (GPIO UNCLAIMED) function gmac0 group PH10
        pin 235 (PH11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 236 (PH12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 237 (PH13): gmac0 (GPIO UNCLAIMED) function gmac0 group PH13
        pin 238 (PH14): gmac0 (GPIO UNCLAIMED) function gmac0 group PH14
        pin 239 (PH15): gmac0 (GPIO UNCLAIMED) function gmac0 group PH15
        pin 240 (PH16): gmac0 (GPIO UNCLAIMED) function gmac0 group PH16
        pin 241 (PH17): gmac0 (GPIO UNCLAIMED) function gmac0 group PH17
        pin 242 (PH18): gmac0 (GPIO UNCLAIMED) function gmac0 group PH18
        pin 243 (PH19): (MUX UNCLAIMED) pio:243
        pin 256 (PI0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 257 (PI1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 258 (PI2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 259 (PI3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 260 (PI4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 261 (PI5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 262 (PI6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 263 (PI7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 264 (PI8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 265 (PI9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 266 (PI10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 267 (PI11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 268 (PI12): (MUX UNCLAIMED) pio:268
        pin 269 (PI13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 270 (PI14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 288 (PJ0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 289 (PJ1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 290 (PJ2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 291 (PJ3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 292 (PJ4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 293 (PJ5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 294 (PJ6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 295 (PJ7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 296 (PJ8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 297 (PJ9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 298 (PJ10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 299 (PJ11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 300 (PJ12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 301 (PJ13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 302 (PJ14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 303 (PJ15): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 304 (PJ16): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 305 (PJ17): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 306 (PJ18): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 307 (PJ19): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 308 (PJ20): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 309 (PJ21): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 310 (PJ22): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 311 (PJ23): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 312 (PJ24): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 313 (PJ25): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 314 (PJ26): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 315 (PJ27): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        

        cat /sys/kernel/debug/pinctrl/r_pio/pinmux-pins

        root@dragonboard:~# cat /sys/kernel/debug/pinctrl/r_pio/pinmux-pins
        Pinmux settings per pin
        Format: pin (name): mux_owner gpio_owner hog?
        pin 352 (PL0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 353 (PL1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 354 (PL2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 355 (PL3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 356 (PL4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 357 (PL5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 358 (PL6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 359 (PL7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 360 (PL8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 361 (PL9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 362 (PL10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        pin 363 (PL11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
        
        1 Reply Last reply Reply Quote Share 0
        • U
          uuuuid LV 6 last edited by

          cat /sys/kernel/debug/pinctrl/pio/pinconf-pins

          root@dragonboard:~# cat /sys/kernel/debug/pinctrl/pio/pinconf-pins
          Pin config settings per pin
          Format: pin (name): configs
          pin 32 (PB0):input bias disabled, output drive strength (20 mA)
          pin 33 (PB1):input bias disabled, output drive strength (20 mA)
          pin 34 (PB2):input bias disabled, output drive strength (20 mA)
          pin 35 (PB3):input bias disabled, output drive strength (20 mA)
          pin 36 (PB4):input bias disabled, output drive strength (20 mA)
          pin 37 (PB5):input bias disabled, output drive strength (20 mA)
          pin 38 (PB6):input bias disabled, output drive strength (20 mA)
          pin 39 (PB7):input bias disabled, output drive strength (20 mA)
          pin 40 (PB8):input bias disabled, output drive strength (20 mA)
          pin 41 (PB9):input bias pull up, output drive strength (40 mA)
          pin 42 (PB10):input bias pull up, output drive strength (40 mA)
          pin 64 (PC0):input bias pull down, output drive strength (40 mA)
          pin 65 (PC1):input bias pull up, output drive strength (40 mA)
          pin 66 (PC2):input bias disabled, output drive strength (20 mA)
          pin 67 (PC3):input bias pull up, output drive strength (20 mA)
          pin 68 (PC4):input bias pull up, output drive strength (20 mA)
          pin 69 (PC5):input bias pull up, output drive strength (40 mA)
          pin 70 (PC6):input bias pull up, output drive strength (40 mA)
          pin 71 (PC7):input bias pull up, output drive strength (20 mA)
          pin 72 (PC8):input bias pull up, output drive strength (40 mA)
          pin 73 (PC9):input bias pull up, output drive strength (40 mA)
          pin 74 (PC10):input bias pull up, output drive strength (40 mA)
          pin 75 (PC11):input bias pull up, output drive strength (40 mA)
          pin 76 (PC12):input bias disabled, output drive strength (20 mA)
          pin 77 (PC13):input bias pull up, output drive strength (40 mA)
          pin 78 (PC14):input bias pull up, output drive strength (40 mA)
          pin 79 (PC15):input bias pull up, output drive strength (40 mA)
          pin 80 (PC16):input bias pull up, output drive strength (40 mA)
          pin 96 (PD0):input bias disabled, output drive strength (40 mA)
          pin 97 (PD1):input bias disabled, output drive strength (40 mA)
          pin 98 (PD2):input bias disabled, output drive strength (40 mA)
          pin 99 (PD3):input bias disabled, output drive strength (40 mA)
          pin 100 (PD4):input bias disabled, output drive strength (40 mA)
          pin 101 (PD5):input bias disabled, output drive strength (40 mA)
          pin 102 (PD6):input bias disabled, output drive strength (40 mA)
          pin 103 (PD7):input bias disabled, output drive strength (40 mA)
          pin 104 (PD8):input bias disabled, output drive strength (40 mA)
          pin 105 (PD9):input bias disabled, output drive strength (40 mA)
          pin 106 (PD10):input bias disabled, output drive strength (20 mA)
          pin 107 (PD11):input bias disabled, output drive strength (20 mA)
          pin 108 (PD12):input bias disabled, output drive strength (20 mA)
          pin 109 (PD13):input bias disabled, output drive strength (20 mA)
          pin 110 (PD14):input bias disabled, output drive strength (20 mA)
          pin 111 (PD15):input bias disabled, output drive strength (20 mA)
          pin 112 (PD16):input bias disabled, output drive strength (20 mA)
          pin 113 (PD17):input bias disabled, output drive strength (20 mA)
          pin 114 (PD18):input bias disabled, output drive strength (20 mA)
          pin 115 (PD19):input bias disabled, output drive strength (20 mA)
          pin 116 (PD20):input bias disabled, output drive strength (20 mA)
          pin 117 (PD21):input bias disabled, output drive strength (20 mA)
          pin 118 (PD22):input bias disabled, output drive strength (20 mA)
          pin 119 (PD23):input bias disabled, output drive strength (20 mA)
          pin 128 (PE0):input bias disabled, output drive strength (20 mA)
          pin 129 (PE1):input bias disabled, output drive strength (20 mA)
          pin 130 (PE2):input bias disabled, output drive strength (20 mA)
          pin 131 (PE3):input bias disabled, output drive strength (20 mA)
          pin 132 (PE4):input bias disabled, output drive strength (20 mA)
          pin 133 (PE5):input bias disabled, output drive strength (20 mA)
          pin 134 (PE6):input bias disabled, output drive strength (20 mA)
          pin 135 (PE7):input bias disabled, output drive strength (20 mA)
          pin 136 (PE8):input bias disabled, output drive strength (20 mA)
          pin 137 (PE9):input bias disabled, output drive strength (20 mA)
          pin 160 (PF0):input bias pull up, output drive strength (20 mA)
          pin 161 (PF1):input bias pull up, output drive strength (20 mA)
          pin 162 (PF2):input bias pull up, output drive strength (20 mA)
          pin 163 (PF3):input bias pull up, output drive strength (20 mA)
          pin 164 (PF4):input bias pull up, output drive strength (20 mA)
          pin 165 (PF5):input bias pull up, output drive strength (20 mA)
          pin 166 (PF6):input bias pull up, output drive strength (40 mA)
          pin 192 (PG0):input bias pull up, output drive strength (40 mA)
          pin 193 (PG1):input bias pull up, output drive strength (40 mA)
          pin 194 (PG2):input bias pull up, output drive strength (40 mA)
          pin 195 (PG3):input bias pull up, output drive strength (40 mA)
          pin 196 (PG4):input bias pull up, output drive strength (40 mA)
          pin 197 (PG5):input bias pull up, output drive strength (40 mA)
          pin 198 (PG6):input bias pull up, output drive strength (20 mA)
          pin 199 (PG7):input bias pull up, output drive strength (20 mA)
          pin 200 (PG8):input bias pull up, output drive strength (20 mA)
          pin 201 (PG9):input bias pull up, output drive strength (20 mA)
          pin 202 (PG10):input bias disabled, output drive strength (20 mA)
          pin 203 (PG11):input bias disabled, output drive strength (20 mA)
          pin 204 (PG12):input bias disabled, output drive strength (20 mA)
          pin 205 (PG13):input bias disabled, output drive strength (20 mA)
          pin 224 (PH0):input bias disabled, output drive strength (40 mA)
          pin 225 (PH1):input bias disabled, output drive strength (40 mA)
          pin 226 (PH2):input bias disabled, output drive strength (40 mA)
          pin 227 (PH3):input bias disabled, output drive strength (40 mA)
          pin 228 (PH4):input bias disabled, output drive strength (40 mA)
          pin 229 (PH5):input bias disabled, output drive strength (40 mA)
          pin 230 (PH6):input bias disabled, output drive strength (40 mA)
          pin 231 (PH7):input bias disabled, output drive strength (40 mA)
          pin 232 (PH8):input bias disabled, output drive strength (20 mA)
          pin 233 (PH9):input bias disabled, output drive strength (40 mA)
          pin 234 (PH10):input bias disabled, output drive strength (40 mA)
          pin 235 (PH11):input bias disabled, output drive strength (20 mA)
          pin 236 (PH12):input bias disabled, output drive strength (20 mA)
          pin 237 (PH13):input bias disabled, output drive strength (40 mA)
          pin 238 (PH14):input bias disabled, output drive strength (40 mA)
          pin 239 (PH15):input bias disabled, output drive strength (40 mA)
          pin 240 (PH16):input bias disabled, output drive strength (40 mA)
          pin 241 (PH17):input bias disabled, output drive strength (40 mA)
          pin 242 (PH18):input bias disabled, output drive strength (40 mA)
          pin 243 (PH19):input bias disabled, output drive strength (20 mA)
          pin 256 (PI0):input bias disabled, output drive strength (20 mA)
          pin 257 (PI1):input bias disabled, output drive strength (20 mA)
          pin 258 (PI2):input bias disabled, output drive strength (20 mA)
          pin 259 (PI3):input bias disabled, output drive strength (20 mA)
          pin 260 (PI4):input bias disabled, output drive strength (20 mA)
          pin 261 (PI5):input bias disabled, output drive strength (20 mA)
          pin 262 (PI6):input bias disabled, output drive strength (20 mA)
          pin 263 (PI7):input bias disabled, output drive strength (20 mA)
          pin 264 (PI8):input bias disabled, output drive strength (20 mA)
          pin 265 (PI9):input bias disabled, output drive strength (20 mA)
          pin 266 (PI10):input bias disabled, output drive strength (20 mA)
          pin 267 (PI11):input bias disabled, output drive strength (20 mA)
          pin 268 (PI12):input bias disabled, output drive strength (20 mA)
          pin 269 (PI13):input bias disabled, output drive strength (20 mA)
          pin 270 (PI14):input bias disabled, output drive strength (20 mA)
          pin 288 (PJ0):input bias disabled, output drive strength (20 mA)
          pin 289 (PJ1):input bias disabled, output drive strength (20 mA)
          pin 290 (PJ2):input bias disabled, output drive strength (20 mA)
          pin 291 (PJ3):input bias disabled, output drive strength (20 mA)
          pin 292 (PJ4):input bias disabled, output drive strength (20 mA)
          pin 293 (PJ5):input bias disabled, output drive strength (20 mA)
          pin 294 (PJ6):input bias disabled, output drive strength (20 mA)
          pin 295 (PJ7):input bias disabled, output drive strength (20 mA)
          pin 296 (PJ8):input bias disabled, output drive strength (20 mA)
          pin 297 (PJ9):input bias disabled, output drive strength (20 mA)
          pin 298 (PJ10):input bias disabled, output drive strength (20 mA)
          pin 299 (PJ11):input bias disabled, output drive strength (20 mA)
          pin 300 (PJ12):input bias disabled, output drive strength (20 mA)
          pin 301 (PJ13):input bias disabled, output drive strength (20 mA)
          pin 302 (PJ14):input bias disabled, output drive strength (20 mA)
          pin 303 (PJ15):input bias disabled, output drive strength (20 mA)
          pin 304 (PJ16):input bias disabled, output drive strength (20 mA)
          pin 305 (PJ17):input bias disabled, output drive strength (20 mA)
          pin 306 (PJ18):input bias disabled, output drive strength (20 mA)
          pin 307 (PJ19):input bias disabled, output drive strength (20 mA)
          pin 308 (PJ20):input bias disabled, output drive strength (20 mA)
          pin 309 (PJ21):input bias disabled, output drive strength (20 mA)
          pin 310 (PJ22):input bias disabled, output drive strength (20 mA)
          pin 311 (PJ23):input bias disabled, output drive strength (20 mA)
          pin 312 (PJ24):input bias disabled, output drive strength (20 mA)
          pin 313 (PJ25):input bias disabled, output drive strength (20 mA)
          pin 314 (PJ26):input bias disabled, output drive strength (20 mA)
          pin 315 (PJ27):input bias disabled, output drive strength (20 mA)
          root@dragonboard:~#
          
          1 Reply Last reply Reply Quote Share 0
          • U
            uuuuid LV 6 last edited by

            cat /sys/kernel/debug/pinctrl/pinctrl-handles

            
            Requested pin control handlers their pinmux maps:
            device: twi1 current state: sleep
              state: default
                type: MUX_GROUP controller pio group: PB4 (4) function: twi1 (8)
                type: CONFIGS_GROUP controller pio group PB4 (4)config 00001409
            config 00000001
                type: MUX_GROUP controller pio group: PB5 (5) function: twi1 (8)
                type: CONFIGS_GROUP controller pio group PB5 (5)config 00001409
            config 00000001
              state: sleep
                type: MUX_GROUP controller pio group: PB4 (4) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PB4 (4)config 00001409
            config 00000001
                type: MUX_GROUP controller pio group: PB5 (5) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PB5 (5)config 00001409
            config 00000001
            device: uart0 current state: default
              state: default
                type: MUX_GROUP controller pio group: PB9 (9) function: uart0 (11)
                type: CONFIGS_GROUP controller pio group PB9 (9)config 00000005
            config 00000000
            config 00000000
                type: MUX_GROUP controller pio group: PB10 (10) function: uart0 (11)
                type: CONFIGS_GROUP controller pio group PB10 (10)config 00000005
            config 00000000
            config 00000000
              state: sleep
                type: MUX_GROUP controller pio group: PB9 (9) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PB9 (9)config 00001409
            config 00000001
                type: MUX_GROUP controller pio group: PB10 (10) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PB10 (10)config 00001409
            config 00000001
            device: uart1 current state: default
              state: default
                type: MUX_GROUP controller pio group: PG6 (75) function: uart1 (40)
                type: CONFIGS_GROUP controller pio group PG6 (75)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG7 (76) function: uart1 (40)
                type: CONFIGS_GROUP controller pio group PG7 (76)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG8 (77) function: uart1 (40)
                type: CONFIGS_GROUP controller pio group PG8 (77)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG9 (78) function: uart1 (40)
                type: CONFIGS_GROUP controller pio group PG9 (78)config 00001409
            config 00000005
              state: sleep
                type: MUX_GROUP controller pio group: PG6 (75) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG6 (75)config 00001409
            config 00000001
                type: MUX_GROUP controller pio group: PG7 (76) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG7 (76)config 00001409
            config 00000001
                type: MUX_GROUP controller pio group: PG8 (77) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG8 (77)config 00001409
            config 00000001
                type: MUX_GROUP controller pio group: PG9 (78) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG9 (78)config 00001409
            config 00000001
            device: soc@03000000:wlan@0 current state: none
              state: 0
            device: gmac0 current state: default
              state: default
                type: MUX_GROUP controller pio group: PH0 (83) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH0 (83)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH1 (84) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH1 (84)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH2 (85) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH2 (85)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH3 (86) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH3 (86)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH4 (87) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH4 (87)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH5 (88) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH5 (88)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH6 (89) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH6 (89)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH7 (90) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH7 (90)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH9 (92) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH9 (92)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH10 (93) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH10 (93)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH13 (96) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH13 (96)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH14 (97) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH14 (97)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH15 (98) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH15 (98)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH16 (99) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH16 (99)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH17 (100) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH17 (100)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH18 (101) function: gmac0 (42)
                type: CONFIGS_GROUP controller pio group PH18 (101)config 00002809
            config 00000001
              state: sleep
                type: MUX_GROUP controller pio group: PH0 (83) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH0 (83)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH1 (84) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH1 (84)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH2 (85) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH2 (85)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH3 (86) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH3 (86)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH4 (87) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH4 (87)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH5 (88) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH5 (88)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH6 (89) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH6 (89)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH7 (90) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH7 (90)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH9 (92) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH9 (92)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH10 (93) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH10 (93)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH13 (96) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH13 (96)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH14 (97) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH14 (97)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH15 (98) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH15 (98)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH16 (99) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH16 (99)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH17 (100) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH17 (100)config 00002809
            config 00000001
                type: MUX_GROUP controller pio group: PH18 (101) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PH18 (101)config 00002809
            config 00000001
            device: sdc2 current state: default
              state: default
                type: MUX_GROUP controller pio group: PC1 (12) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC1 (12)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC5 (16) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC5 (16)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC6 (17) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC6 (17)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC8 (19) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC8 (19)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC9 (20) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC9 (20)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC10 (21) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC10 (21)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC11 (22) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC11 (22)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC13 (24) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC13 (24)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC14 (25) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC14 (25)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC15 (26) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC15 (26)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC16 (27) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC16 (27)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PC0 (11) function: sdc2 (15)
                type: CONFIGS_GROUP controller pio group PC0 (11)config 00002809
            config 00000003
              state: sleep
                type: MUX_GROUP controller pio group: PC0 (11) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC0 (11)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC1 (12) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC1 (12)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC5 (16) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC5 (16)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC6 (17) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC6 (17)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC8 (19) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC8 (19)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC9 (20) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC9 (20)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC10 (21) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC10 (21)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC11 (22) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC11 (22)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC13 (24) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC13 (24)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC14 (25) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC14 (25)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC15 (26) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC15 (26)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PC16 (27) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PC16 (27)config 00001409
            config 00000005
            device: sdc0 current state: sleep
              state: default
                type: MUX_GROUP controller pio group: PF0 (62) function: sdc0 (38)
                type: CONFIGS_GROUP controller pio group PF0 (62)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PF1 (63) function: sdc0 (38)
                type: CONFIGS_GROUP controller pio group PF1 (63)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PF2 (64) function: sdc0 (38)
                type: CONFIGS_GROUP controller pio group PF2 (64)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PF3 (65) function: sdc0 (38)
                type: CONFIGS_GROUP controller pio group PF3 (65)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PF4 (66) function: sdc0 (38)
                type: CONFIGS_GROUP controller pio group PF4 (66)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PF5 (67) function: sdc0 (38)
                type: CONFIGS_GROUP controller pio group PF5 (67)config 00002809
            config 00000005
              state: sleep
                type: MUX_GROUP controller pio group: PF0 (62) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PF0 (62)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF1 (63) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PF1 (63)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF2 (64) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PF2 (64)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF3 (65) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PF3 (65)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF4 (66) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PF4 (66)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF5 (67) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PF5 (67)config 00001409
            config 00000005
              state: uart_jtag
                type: MUX_GROUP controller pio group: PF0 (62) function: jtag0 (4)
                type: CONFIGS_GROUP controller pio group PF0 (62)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF1 (63) function: jtag0 (4)
                type: CONFIGS_GROUP controller pio group PF1 (63)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF2 (64) function: uart0 (11)
                type: CONFIGS_GROUP controller pio group PF2 (64)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF3 (65) function: jtag0 (4)
                type: CONFIGS_GROUP controller pio group PF3 (65)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF4 (66) function: uart0 (11)
                type: CONFIGS_GROUP controller pio group PF4 (66)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PF5 (67) function: jtag0 (4)
                type: CONFIGS_GROUP controller pio group PF5 (67)config 00001409
            config 00000005
            device: sdc1 current state: default
              state: default
                type: MUX_GROUP controller pio group: PG0 (69) function: sdc1 (39)
                type: CONFIGS_GROUP controller pio group PG0 (69)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PG1 (70) function: sdc1 (39)
                type: CONFIGS_GROUP controller pio group PG1 (70)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PG2 (71) function: sdc1 (39)
                type: CONFIGS_GROUP controller pio group PG2 (71)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PG3 (72) function: sdc1 (39)
                type: CONFIGS_GROUP controller pio group PG3 (72)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PG4 (73) function: sdc1 (39)
                type: CONFIGS_GROUP controller pio group PG4 (73)config 00002809
            config 00000005
                type: MUX_GROUP controller pio group: PG5 (74) function: sdc1 (39)
                type: CONFIGS_GROUP controller pio group PG5 (74)config 00002809
            config 00000005
              state: sleep
                type: MUX_GROUP controller pio group: PG0 (69) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG0 (69)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG1 (70) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG1 (70)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG2 (71) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG2 (71)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG3 (72) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG3 (72)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG4 (73) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG4 (73)config 00001409
            config 00000005
                type: MUX_GROUP controller pio group: PG5 (74) function: io_disabled (7)
                type: CONFIGS_GROUP controller pio group PG5 (74)config 00001409
            config 00000005
            root@dragonboard:~#
            
            1 Reply Last reply Reply Quote Share 0
            • whycan
              whycan晕哥 LV 9 last edited by

              cat /sys/kernel/debug/pwm

              root@dragonboard:/sys/kernel/debug/dispdbg# cat /sys/kernel/debug/pwm
              platform/300a000.pwm, 16 PWM devices
               pwm-0   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-1   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-2   (lcd                 ): requested period: 20000 ns duty: 7812 ns polarity: normal
               pwm-3   (lcd                 ): requested enabled period: 20000 ns duty: 19922 ns polarity: inverse
               pwm-4   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-5   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-6   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-7   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-8   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-9   ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-10  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-11  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-12  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-13  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-14  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
               pwm-15  ((null)              ): period: 0 ns duty: 0 ns polarity: normal
              
              1 Reply Last reply Reply Quote Share 0
              • 1 / 1
              • First post
                Last post

              Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

              行为准则 | 用户协议 | 隐私权政策