1. 08 Dec, 2015 3 commits
  2. 07 Dec, 2015 6 commits
  3. 05 Dec, 2015 4 commits
  4. 04 Dec, 2015 3 commits
  5. 03 Dec, 2015 19 commits
  6. 30 Nov, 2015 1 commit
  7. 25 Nov, 2015 4 commits
    • Johan Hovold's avatar
      greybus: Documentation/sysfs: rename interface and bundle attributes · 32945d6e
      Johan Hovold authored
      Update the example sysfs-tree layout under Documentation due renamed
      interface and bundle attributes.
      
      The interface and bundle "id" attributes have been renamed
      "interface_id" and "bundle_id" respectively to make them self
      describing. For consistency reasons the bundle class attribute is
      renamed as "bundle_class".
      
      .
      ├── greybus1
      │   ├── 1-2
      │   │   ├── 1-2.1
      │   │   │   ├── bundle_class
      │   │   │   ├── bundle_id
      │   │   │   └── state
      │   │   ├── 1-2.2
      │   │   │   ├── bundle_class
      │   │   │   ├── bundle_id
      │   │   │   └── state
      │   │   ├── interface_id
      │   │   ├── product_id
      │   │   ├── unique_id
      │   │   └── vendor_id
      │   ├── 1-4
      │   │   ├── 1-4.2
      │   │   │   ├── bundle_class
      │   │   │   ├── bundle_id
      │   │   │   ├── gpbridge0
      │   │   │   │   ├── gpio
      │   │   │   │   │   └── gpiochip490
      │   │   │   │   └── i2c-4
      │   │   │   └── state
      │   │   ├── interface_id
      │   │   ├── product_id
      │   │   ├── unique_id
      │   │   └── vendor_id
      │   └── 1-svc
      │       ├── ap_intf_id
      │       ├── eject
      │       ├── endo_id
      │       └── unique_id
      └── greybus2
          ├── 2-3
          │   ├── 2-3.1
          │   │   ├── bundle_class
          │   │   ├── bundle_id
          │   │   └── state
          │   ├── interface_id
          │   ├── product_id
          │   ├── unique_id
          │   └── vendor_id
          └── 2-svc
              ├── ap_intf_id
              ├── eject
              ├── endo_id
              └── unique_id
      Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      32945d6e
    • Johan Hovold's avatar
      greybus: interface: drop the control bundle · 47091af9
      Johan Hovold authored
      Drop the control bundle and ignore control descriptors when parsing
      manifests.
      
      Every interface has a control connection with a well defined remote
      CPort 0 and there's no longer any need to create a bundle for it.
      
      As the control connection is setup and enabled before parsing the
      manifest, ignore any legacy descriptors for control cports and bundles
      in a manifest.
      Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      47091af9
    • Johan Hovold's avatar
      greybus: manifest: refactor cport-descriptor release · f2152eb3
      Johan Hovold authored
      Add helper function to release cport-descriptors with a given bundle id.
      Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      f2152eb3
    • Johan Hovold's avatar
      greybus: connection: unconditionally enable connections · e1442f69
      Johan Hovold authored
      Remove conditional enabling of connections when binding protocols that
      served no purpose as a connection either has no bundle or it has an
      interface with a valid device id.
      
      Also remove the now unused GB_PROTOCOL_NO_BUNDLE protocol flag.
      
      This is an intermediate step in moving the protocol binding to
      connection_init, but is also needed as the control bundle is going away.
      Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
      e1442f69