Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1918704imu; Thu, 10 Jan 2019 05:23:43 -0800 (PST) X-Google-Smtp-Source: ALg8bN5b/7B/Cytde+reGl0nM6f+busfRjVHm5E3hGQR46xI9DfKSUuVNk6fd5MZLI5kCQPbFcKp X-Received: by 2002:a63:1c09:: with SMTP id c9mr9262324pgc.200.1547126623809; Thu, 10 Jan 2019 05:23:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547126623; cv=none; d=google.com; s=arc-20160816; b=vo+CP4mRvO8u71AACxZMTmKhLm/5OA2bJ85EDAG78/leNnvrtFpXHlgmkxURbQelxV 5opkVg9xSgNcE+F+bytdM5MME5Nn5XRdF4l5ogtoiDw/uOsX91JUS0vTWT5R/H5YFcy3 AD+EPGm/ZAgPAZ3rN3pgvHyQ3fMRQXrxazAmuy0FYhl3UOYyQS0CaIqpVQE6O6DAy4RM PeN0l3HQamm9dUyNcqxSzsY2AR+pYdKKzd9J7PGHWuRpFdM4wFq0lCO7x6LdywAc7X7j MNVwhr9CqLjUVlt8+3JmMzviFv1/M0hZLtwUQPmFwp/Hv4m4jPkCMRbwZswiDzVNJBSl iTfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8/kYQbgH49kxJzlUJok3TLr1P39QGkBkzX9UDw9kyuI=; b=Q+EA5sDQgImQnOop2YGclwI5F/cjpvi5mCcg6+BsNZ0xBvfuM9zdwOmNbTtXk9Zrz1 EUmXNsLzUUHcNTqv9HRD5fGU5bxpg6ws0ywDtzRTTFsvU8UJkDtt4o572KGK0GHYaqXP 9mCUHQwVPri7WHBok+ugv5MZvoRlz37TLziMOWIsBOpjs8nqagC4K80CsA1ZacrMjfz3 sPIWDMN4o7O/ificyt9B4ZVrqmtm8c045uoVsm69Cez6C8a/iJ+hWKxJyCOEiKyr1gl4 vXEBoZaFhB7JnCMsBPMf4yKCeyVx4oxTsYzVqltQomWlVtOhqS5YhLc7zt7FpDq0p79Q i/eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QNPy61wY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7si74644909plk.206.2019.01.10.05.23.26; Thu, 10 Jan 2019 05:23:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QNPy61wY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728736AbfAJNWV (ORCPT + 99 others); Thu, 10 Jan 2019 08:22:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:38816 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728088AbfAJNWV (ORCPT ); Thu, 10 Jan 2019 08:22:21 -0500 Received: from dragon (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2235D214DA; Thu, 10 Jan 2019 13:22:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547126540; bh=OECq5171S9i76LcX8GhY6qNZdz8TO45DCOI9JThXBnQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QNPy61wYrXLXZlpLNsrTlouHOgDXHM5NTaWfwCrMjLfVYE80q3alIGubwnpzYd4t0 38zAinaCBPmKZUVSBR+ohKU7C11k8PHPQbSzFOa3OF+fdKu5QXgK2tFl9XSAp9XDvE d3aMO6c3peTcD2oWmpLuoDOtkYyrZahT5jFieWRA= Date: Thu, 10 Jan 2019 21:22:10 +0800 From: Shawn Guo To: Lukasz Majewski Cc: Rob Herring , Mark Rutland , Sascha Hauer , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Pengutronix Kernel Team , Stefan Agner , Fabio Estevam , Fabio Estevam Subject: Re: [PATCH v2] ARM: dts: vf610-bk4: Provide support for reading ID code from MVB device Message-ID: <20190110132209.GA30487@dragon> References: <20181113121213.14296-1-lukma@denx.de> <20181209215056.22027-1-lukma@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181209215056.22027-1-lukma@denx.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 09, 2018 at 10:50:56PM +0100, Lukasz Majewski wrote: > The procedure to read this ID value is as follows: > > rmmod spi_fsl_dspi > insmod spi-gpio.ko > > echo 504 > /sys/class/gpio/export > cat /sys/class/gpio/gpio504/value > ... > echo 511 > /sys/class/gpio/export > cat /sys/class/gpio/gpio511/value > > rmmod spi-gpio.ko > insmod spi_fsl_dspi > > Signed-off-by: Lukasz Majewski Applied, thanks.