linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Горюнов Михаил" <gormih78-o+MxOtu4lMCHXe+LvDLADg@public.gmane.org>
To: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: spidev t20 on 2.6.36.2 kernel problem
Date: Wed, 03 Apr 2013 10:50:37 +0400	[thread overview]
Message-ID: <1243821364971837@web10h.yandex.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

Hello!
BOARD: QuadMo747-X/T20
i get kernel 2.6.36.2 from nvidia tegra partners: Toradex Colibri (http://developer.toradex.com/software-resources/arm-family/linux/source-code/linux-(colibri-t20)-source-code), and SecoQseven (http://www.secoqseven.com/en/download/downloads.html)


I build kernel with option "User mode SPI device support"
Example of my board-harmony.c file in attachment

While 

echo -ne "x5c">/dev/spidev1.1 &  
kernel module interface spi freezes. (bash not responding, and ignore SIGKILL)
if i run spidev_test.c from Documentation/spi folder - process spidev_test freezes




[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: board-harmony.h --]
[-- Type: text/x-c; name="board-harmony.h", Size: 788 bytes --]

/*
 * arch/arm/mach-tegra/board-harmony.h
 *
 * Copyright (C) 2010 Google, Inc.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _MACH_TEGRA_BOARD_HARMONY_H
#define _MACH_TEGRA_BOARD_HARMONY_H

void harmony_pinmux_init(void);
void harmony_power_off_init(void);
int harmony_regulator_init(void);
int harmony_panel_init(void);
int harmony_sdhci_init(void);

#endif

             reply	other threads:[~2013-04-03  6:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-03  6:50 Горюнов Михаил [this message]
     [not found] ` <1243821364971837-NntFpNdt8ZFxpj1cXAZ9Bg@public.gmane.org>
2013-04-03  9:33   ` spidev t20 on 2.6.36.2 kernel problem Горюнов Михаил
2013-04-03 16:48   ` Stephen Warren
     [not found]     ` <883501365053928@web30f.yandex.ru>
     [not found]       ` <883501365053928-2LdmG2lj+95xpj1cXAZ9Bg@public.gmane.org>
2013-04-04 17:36         ` Stephen Warren
     [not found]           ` <515DBA35.6000309-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-04 18:03             ` Mikhail Goryunov
     [not found]               ` <1714461365098590-5jccDmya2mZuio3avFS2gg@public.gmane.org>
2013-04-04 18:26                 ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1243821364971837@web10h.yandex.ru \
    --to=gormih78-o+mxotu4lmchxe+lvdladg@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).