10 Oct
                
                    2012
                
            
            
                10 Oct
                
                '12
                
            
            
            
        
    
                5:36 p.m.
            
        Hi all,
I'm working on an ASoC driver for the THAT5173 microphone preamplifier which is controlled via SPI. When operating in daisy chain mode (4 amps) the desired format is a bit odd: I need to write four 16 bit spi commands (one gain setting for each amp) in a row without raising the chipselect line between commands. That is, I need to write one 64 bit SPI command that is composed of 4 different values (and 4 register addresses which are all 0).
Usually I use regmap but I don't see how I can construct such a message with regmap. How can this be done (with or without regmap)?
Thanks, Chris