Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp994576ybp; Fri, 11 Oct 2019 07:32:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrQF2MA+BNQNrZ3ETwNmNXaoOHT7gmJLCzpF0JSJrO+4HVk/bYd/GrdneSn/4GesvrqA00 X-Received: by 2002:a17:906:3009:: with SMTP id 9mr14401737ejz.124.1570804325425; Fri, 11 Oct 2019 07:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570804325; cv=none; d=google.com; s=arc-20160816; b=NpaxhBfN+EhWhpI3psX65FWsuB14/hV8kgYUT5vvtHdGNO63cgZJDNNIpyzT2bUv9r Fa2+qhuSu2FjQ/oFcEzKWVfBeE6MgqYoXPA3/Uc/4ngCpf96nYMbYZ67W2i1cldVEqaZ DP9kYPx5WJvazGy2t6V0gawzTTMG7eATWgHjgftugvj1YMw8vZZqQUYUzcrkVhUnEaiF 4OojbTC9/7AJpytWEpWUlbs/LrCMIOxL8Vv2O0Wl+2j7M6g5mJXfFuwVWOc64EFfs11z bWGr4LziO5IZEXY2OvP1yuSvY8kaRkTILnclyaMkOcH31V6HIBK2imdWCvztdbS6a4Nm 21uA== 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; bh=0X1hghAJ29XYm0tUmf8FNz9k1l80AJy3GjZpN1F0pmk=; b=AgGNVf2BDGWYdDF2mE9o4g5e/X2cVUtL69S2z4x14FdmH4wuIxTOr0WagYbpvZjrma bOtN59WwZfPK86srVw5outY2dteJ3GatOxFLFEQsKD7lIich0NAAZVFdfpQPxaHTPRtR F9daHvjjy5O8hmyfO5DerdQi31Gy6GqlaSjeNy7PWTb2sqXUDPo6A0Smr4Zh4Fz9l6QT wAv/X88vTsO+Y0Jz1jBXqehTtaHbRg4+TuI6JmQLuX7q/v6iZNiAHXFKyBc+ayW/prWe M2DS+Rd9eXEdYu3r5cOfaSTaR3tfyglXVJq/jvsM/vbWtn5Sx+XBYVc02RMsNHXE1VtW 8lJQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 l22si5401215edb.241.2019.10.11.07.31.41; Fri, 11 Oct 2019 07:32:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728225AbfJKO3a (ORCPT + 99 others); Fri, 11 Oct 2019 10:29:30 -0400 Received: from mail-oi1-f196.google.com ([209.85.167.196]:33032 "EHLO mail-oi1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728123AbfJKO3a (ORCPT ); Fri, 11 Oct 2019 10:29:30 -0400 Received: by mail-oi1-f196.google.com with SMTP id a15so8175133oic.0; Fri, 11 Oct 2019 07:29:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0X1hghAJ29XYm0tUmf8FNz9k1l80AJy3GjZpN1F0pmk=; b=OEMbkFELfvtuRGgRxO6eeL96TWbwmNCgZbCJdwCSc0kjIfiodGia26Oc+mE7TSih+o nLqPcsnfsDhOY15z210OPQ4Za3l4SUcC6w5hTWCkfPz1WhFiYNG1ce1/o8FDD0fDH5VR 9YjUMDoMLTyqAA9vYV9b9WvqhAZxjO7fsEkkxfemDRWBNb34Ayn/ozqYd977L4fkl3/5 ufM2hcSn0JkdErS1YYrS0HSfAfY282nhVKKKSMhXHYNW0rInG/qg3+prQyaosBNt5r5a 5dLzVs5/DyEgy77Qo3FlKQBd9s+rQgnWLOs3SK2CQ4rXLeIgN7GBbnBR06Eyl25Zy3Ff WJSA== X-Gm-Message-State: APjAAAVu3u0bDvIe/imacLndzHf6Pbh8+xptNAoiVFelu4CKKx/JRSR4 gXkkIF+tsuhTsUqfaz010IB2O/U= X-Received: by 2002:aca:36d5:: with SMTP id d204mr11992336oia.51.1570804168556; Fri, 11 Oct 2019 07:29:28 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id m14sm2629238otl.26.2019.10.11.07.29.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2019 07:29:27 -0700 (PDT) Date: Fri, 11 Oct 2019 09:29:27 -0500 From: Rob Herring To: Andreas Kemnade Cc: Marco Felsch , mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, manivannan.sadhasivam@linaro.org, andrew.smirnov@gmail.com, marex@denx.de, angus@akkea.ca, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, j.neuschaefer@gmx.net, Discussions about the Letux Kernel Subject: Re: [PATCH v3 2/3] ARM: dts: add Netronix E60K02 board common file Message-ID: <20191011142927.GA11490@bogus> References: <20191010192357.27884-1-andreas@kemnade.info> <20191010192357.27884-3-andreas@kemnade.info> <20191011065609.6irap7elicatmsgg@pengutronix.de> <20191011094148.1376430e@aktux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191011094148.1376430e@aktux> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 11, 2019 at 09:41:48AM +0200, Andreas Kemnade wrote: > On Fri, 11 Oct 2019 08:56:09 +0200 > Marco Felsch wrote: > > > Hi Andreas, > > > > On 19-10-10 21:23, Andreas Kemnade wrote: > > > The Netronix board E60K02 can be found some several Ebook-Readers, > > > at least the Kobo Clara HD and the Tolino Shine 3. The board > > > is equipped with different SoCs requiring different pinmuxes. > > > > > > For now the following peripherals are included: > > > - LED > > > - Power Key > > > - Cover (gpio via hall sensor) > > > - RC5T619 PMIC (the kernel misses support for rtc and charger > > > subdevices). > > > - Backlight via lm3630a > > > - Wifi sdio chip detection (mmc-powerseq and stuff) > > > > > > It is based on vendor kernel but heavily reworked due to many > > > changed bindings. > > > > > > Signed-off-by: Andreas Kemnade > > > --- > > > Changes in v3: > > > - better led name > > > - correct memory size > > > - comments about missing devices > > > > > > Changes in v2: > > > - reordered, was 1/3 > > > - moved pinmuxes to their actual users, not the parents > > > of them > > > - removed some already-disabled stuff > > > - minor cleanups > > > > You won't change the muxing, so a this dtsi can be self contained? > > > So you want me to put a big > #if defined(MX6SLL) Not sure what the comment meant, but no, don't do this. C defines in dts files are for symbolic names for numbers and assembling bitfields and that's it. > [...] > pinctrl_i2c1: i2c1grp { > fsl,pins = < > MX6SLL_PAD_I2C1_SCL__I2C1_SCL 0x4001f8b1 > MX6SLL_PAD_I2C1_SDA__I2C1_SDA 0x4001f8b1 > >; > }; > > #elif (MX6SL) > [...] > pinctrl_i2c1: i2c1grp { > fsl,pins = < > MX6SL_PAD_I2C1_SCL__I2C1_SCL 0x4001f8b1 > MX6SL_PAD_I2C1_SDA__I2C1_SDA 0x4001f8b1 > >; > }; > > #endif > in the dtsi? > > Regards, > Andreas