Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp546084imm; Fri, 22 Jun 2018 00:50:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKgw7wvFqpjWUPyLZeVmP0pUobWsqurLuzSIYSMQ3fTiBfnDSmPnxvFWlnC0e2lYligAcDl X-Received: by 2002:a17:902:42a3:: with SMTP id h32-v6mr560685pld.72.1529653846189; Fri, 22 Jun 2018 00:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529653846; cv=none; d=google.com; s=arc-20160816; b=DHpCCAIBLXLn+svyBZJT8jpXzdu5RMWwbUvpa57DN5RIPo4eptQz7rX2w4uDoLmunw xYi8EMLXDNxhXx+1l5Y0tKmYUPfk1LLDhVvM8jDfzS0WMLxSAGLRyeWeXmt4XU94lGbX X6CG4SuH6FIj2J9UohHgTumCYh2t6lOQbl4B1drGGS0mOLfsYigamSU2zjQwo4v6MP0k Wds/zkCGVJpUR7a3ZZobZeYjonSHkux9kcDJ0tja8lNpQ5jS6iJifeztmkLTJ2acjTCv zwwtuw73h4K+U57rjGW6gdaDfX8BEQKqtySZt4u7CNMrPYtEineBDZ1IkMsDjgc5A50q BU/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=k7FPutYG6itfN9h2AWI3GoRKtT+hIg4ppXzUgrdVElU=; b=lqBb+KS6//wsdVhv6vw7VmYA5dPA5NHR3NP4zp6tUBTdU6KVN1HkYEs6jMFvthGIfL BT6tf7Nzo5TeYjHYrRShkLFVKj4L0jmpUGNQlACbJsABADfBKR45PAggRGLZ7cPhjNdX 6C2dF+l/OM3rHmvaC8D+kOkiRjuTy4SpsY/W8OWj9o2GtrlRZ6QEOTtXcYlmdmwbEZlS W/xLRLHt4eUFk9jAmUZ9KznVOBQAgkz1elGKX3TFwFhucANhODnb+NbE/lERn4wsh1Es Q2/yTdN3bFySUr330UPHjNxmduhuLpssK3tGrlHkTEF0hOXa1gcVtPnzaiBTkJUrqw7G FZbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yed2syI5; 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 x6-v6si6710086plv.315.2018.06.22.00.50.31; Fri, 22 Jun 2018 00:50:46 -0700 (PDT) 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=yed2syI5; 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 S1751398AbeFVHts (ORCPT + 99 others); Fri, 22 Jun 2018 03:49:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:60536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751085AbeFVHto (ORCPT ); Fri, 22 Jun 2018 03:49:44 -0400 Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1A57923E71; Fri, 22 Jun 2018 07:49:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1529653784; bh=Chxrlb54FrwWqqIJ0SYWM+/P+uCYCS7+RDPlAfss/kw=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=yed2syI5VNgdOvx/gMjpnJC4grFp8wKgUdQnVCYnPGnlDSnIKCLEMqOF4Jxdm4UT8 6L/eCHY9+t6ixf+A0jbHe8p1FBOG7cw/TF4605aO/IEI3NY0ftpCTMvZcihoXpksj0 pMvQpYIluuHsZoOiIRgRJady012WoJmxPalD0V6U= Received: by mail-wm0-f42.google.com with SMTP id j15-v6so1373083wme.0; Fri, 22 Jun 2018 00:49:44 -0700 (PDT) X-Gm-Message-State: APt69E2zBM+6+Fr6CMTTww2FNguwcL82woHljou6oyOf8PCl/NlpjH4q 6wR7WjPL+uoNQGK2l8El2UFLk9Jby942tLYxOGo= X-Received: by 2002:a1c:58d5:: with SMTP id m204-v6mr758235wmb.118.1529653782553; Fri, 22 Jun 2018 00:49:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:adf:9166:0:0:0:0:0 with HTTP; Fri, 22 Jun 2018 00:49:42 -0700 (PDT) In-Reply-To: <1529608199-5583-4-git-send-email-pawel.mikolaj.chmiel@gmail.com> References: <1529608199-5583-1-git-send-email-pawel.mikolaj.chmiel@gmail.com> <1529608199-5583-4-git-send-email-pawel.mikolaj.chmiel@gmail.com> From: Krzysztof Kozlowski Date: Fri, 22 Jun 2018 09:49:42 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/7] ARM: dts: s5pv210: Add initial DTS for Samsung Galaxy S phone. To: =?UTF-8?Q?Pawe=C5=82_Chmiel?= Cc: kgene@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, xc-racer2@live.ca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21 June 2018 at 21:09, Pawe=C5=82 Chmiel wrote: > Signed-off-by: Pawe=C5=82 Chmiel Please add commit message. This can be something as simple as "Add Samsung Galaxy S DTS which is a commercial phone based on Aries family." or something more (e.g. describe what is working). > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/s5pv210-galaxys.dts | 72 +++++++++++++++++++++++++++++= ++++++ > 2 files changed, 73 insertions(+) > create mode 100644 arch/arm/boot/dts/s5pv210-galaxys.dts > > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 7e2424957809..522ebdca1d3d 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -846,6 +846,7 @@ dtb-$(CONFIG_ARCH_S3C64XX) +=3D \ > s3c6410-smdk6410.dtb > dtb-$(CONFIG_ARCH_S5PV210) +=3D \ > s5pv210-aquila.dtb \ > + s5pv210-galaxys.dtb \ > s5pv210-goni.dtb \ > s5pv210-smdkc110.dtb \ > s5pv210-smdkv210.dtb \ > diff --git a/arch/arm/boot/dts/s5pv210-galaxys.dts b/arch/arm/boot/dts/s5= pv210-galaxys.dts > new file mode 100644 > index 000000000000..d435032541a9 > --- /dev/null > +++ b/arch/arm/boot/dts/s5pv210-galaxys.dts > @@ -0,0 +1,72 @@ > +// SPDX-License-Identifier: GPL-2.0 > + > +/dts-v1/; > +#include > +#include > +#include > +#include Duplicated inclusion. > +#include "s5pv210-aries.dtsi" > + > +/ { > + model =3D "Samsung Galaxy S1 (GT-I9000) based on S5PV210"; > + compatible =3D "samsung,galaxys", "samsung,aries", "samsung,s5pv2= 10"; > + > + chosen { > + bootargs =3D "console=3DttySAC2,115200n8 root=3D/dev/mmcb= lk2p1 rw rootwait ignore_loglevel earlyprintk"; stdout-path =3D "serial2:115200n8"; Rest of bootargs should not be here (they are not HW dependent) unless you cannot configure them through bootloader? > + }; > + > + nand_pwrseq: nand-pwrseq { > + compatible =3D "mmc-pwrseq-simple"; > + reset-gpios =3D <&gpj2 7 GPIO_ACTIVE_LOW>; > + pinctrl-names =3D "default"; > + pinctrl-0 =3D <&massmemory_en>; massmemory_en is used only here, so please move it from aries.dtsi. The same applies to all other possible properties if they are not used in other DTSes including aries. > + }; > + > + gpio-keys { > + compatible =3D "gpio-keys"; > + > + power { > + label =3D "power"; > + gpios =3D <&gph2 6 GPIO_ACTIVE_LOW>; > + linux,code =3D ; > + wakeup-source; > + }; > + > + vol-down { > + label =3D "volume_down"; > + gpios =3D <&gph3 1 GPIO_ACTIVE_LOW>; > + linux,code =3D ; > + }; > + > + vol-up { > + label =3D "volume_up"; > + gpios =3D <&gph3 2 GPIO_ACTIVE_LOW>; > + linux,code =3D ; > + }; > + > + home { > + label =3D "home"; > + gpios =3D <&gph3 5 GPIO_ACTIVE_LOW>; > + linux,code =3D ; > + wakeup-source; > + }; > + }; > +}; > + > +&pinctrl0 { > + massmemory_en: massmemory-en { Oh wait, I see massmemory_en here... so there is no need of such in aries.d= tsi. Best regards, Krzysztof > + samsung,pins =3D "gpj2-7"; > + samsung,pin-function =3D ; > + samsung,pin-pud =3D ; > + samsung,pin-drv =3D ; > + }; > +}; > + > +&sdhci0 { > + bus-width =3D <4>; > + non-removable; > + mmc-pwrseq =3D <&nand_pwrseq>; > + pinctrl-0 =3D <&sd0_clk &sd0_cmd &sd0_bus4>; > + pinctrl-names =3D "default"; > + status =3D "okay"; > +}; > -- > 2.7.4 >