zzj 发表于 2016-8-30 15:31:22

长的 发表于 2016-8-30 10:16
pwm_regulator {
      compatible = "rockchip_pwm_regulator";
      pwms = ;


我看wiki里面是控制什么backlight的,但是就算我全部都设为disabled还是无法申请,对应的硬件设备是你自己接LCD时的屏幕背光

zzj 发表于 2016-8-30 15:54:54

xaityyy 发表于 2016-8-28 16:21
dmesg | tee dmesg.log。然后发dmesg.log出来。
如果是串口,打开log,就会有log到本地。

是这个吗 我选了一段跟申请有关的
[    2.300069] init success
[    2.300247] probe device ff9c0000.hevc_service
[    2.300856] hevc_service: power on
[    2.301996] checking hw id 6867
[    2.302857] vcodec hevc_service: vcodec ion client create success!
[    2.303753] hevc_service: power off...
[    2.303855] done
[    2.303909] init success
[    2.304279] rknandbase v1.0 2014-03-31
[    2.304906] rknand_probe clk rate = 148500000
[    2.305302] rknand_driver:ret = 0
[    2.306411] audit: initializing netlink socket (disabled)
[    2.306553] type=2000 audit(1.270:1): initialized
[    2.309435] bounce pool size: 64 pages
[    2.324875] fuse init (API version 7.22)
[    2.326121] msgmni has been set to 1424
[    2.326307] SELinux:Registering netfilter hooks
[    2.332471] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.332571] io scheduler noop registered
[    2.332630] io scheduler deadline registered
[    2.332971] io scheduler cfq registered (default)
[    2.334435] Console: switching to colour frame buffer device 240x67
[    2.383801] rga ff920000.rga: rga ion client create success!
[    2.384451] rga: Driver loaded succesfully
[    2.386058] IEP Power ON
[    2.386290] iep ion client create success!
[    2.387440] rk_iommu ff900800.iep_mmu: (iep) Enabled
[    2.387697] rk_iommu ff900800.iep_mmu: rockchip_iommu_attach_device: Attached new IOMMU with pgtable 0x2e244000
[    2.387796] IEP Power OFF
[    2.387962] rk_iommu ff900800.iep_mmu: (iep) Disabled
[    2.388210] rk_iommu ff900800.iep_mmu: rockchip_iommu_detach_device: Detached IOMMU with pgtable 0x2e244000
[    2.388635] IEP Driver loaded succesfully
[    2.389093] Module initialized.
[    2.391763] dma-pl330 ffb20000.pdma: Loaded driver for PL330 DMAC-2364208
[    2.392107] dma-pl330 ffb20000.pdma:         DBUFF-64x8bytes Num_Chans-5 Num_Peri-6 Num_Events-10
[    2.396826] dma-pl330 ff250000.pdma: Loaded driver for PL330 DMAC-2364208
[    2.397169] dma-pl330 ff250000.pdma:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    2.398304] pwm-voltage-regulator pwm_regulator.22: unable to request PWM, trying legacy API
[    2.398695] pwm-voltage-regulator pwm_regulator.22: unable to request legacy PWM
[    2.399018] pwm_regulator_probe:error
[    2.399235] platform pwm_regulator.22: Driver pwm-voltage-regulator requests probe deferral
[    2.400625] rk_serial.c v1.8 2014-03-04
[    2.401434] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 87) is a rk29_serial.0
[    2.402365] serial ff180000.serial: membase f0172000
[    2.403007] ff690000.serial: ttyS2 at MMIO 0xff690000 (irq = 89) is a rk29_serial.2

长的 发表于 2016-8-30 17:28:22

zzj 发表于 2016-8-30 15:31
我看wiki里面是控制什么backlight的,但是就算我全部都设为disabled还是无法申请,对应的硬件设备是你自 ...

你看我发的这个帖子,按照帖子的方法pwm1可以使用http://developer.t-firefly.com/thread-10801-1-1.html
页: 1 [2]
查看完整版本: 无法申请pwm1,这是驱动和log,麻烦看一下,提问很多天了