Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5929891rdb; Thu, 14 Dec 2023 04:02:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IGy4wXDxLo5XkjZmHbCH0QM0W4BD3ZqsLeanDmMXPwO5bNDhWgfGDERx7NiVoxqJJDLkLYd X-Received: by 2002:a17:90a:5806:b0:28a:9748:d7e4 with SMTP id h6-20020a17090a580600b0028a9748d7e4mr2903085pji.14.1702555324221; Thu, 14 Dec 2023 04:02:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702555324; cv=none; d=google.com; s=arc-20160816; b=pnslOWh769X5b9bBH0iOdwOq+i1MEXU+VpA4SHrz8Q4loqRj1xUZPz/8UT0F9+mk9q NO3rk36FPdIbOF2ezIVcTadqen5Hl5hEr/vma9o2/p2jQS7cqEyIaRxLDFeOiVSwx3Bi o9uHWRfa6STd2adOEq1Y/pfiu16Ki5YYPdx8uCQ1ykeueZ4C8MVU/iwNLo8fOWL852aO 08IlvlEcQkTjOE9jIXSEaBOi/JcJE9D+CpgGd+c4r5PGqYlE3b0ngr+7/tfksPDUPRYg slnqhCMsraL0CzwLjHTMIzBe48sTt2GzZ0vSMDPNGT7gGdL4QHFGMHRsFnLQKH5TSlMC o6sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=Baksf+ezVFlYZ2aIOXFNfU8ikmrbeyERoCYqa6/cW4Y=; fh=onOQAYyuk9g1JT9jZ+1WkVuSS7CAOytE8++7FimUZEs=; b=SJPTKl+s3Lo4d1KvJuUZggxZMz/+4c4CUGxcTaOcTKcpaSZsxnRY1rOnqLb0E6CF3N 9U5TO3eg590gxpbOeS2VIg1JPDkz8LIQ6gCdPIQjlQUEgrzcKxNcZ9dCZbv1bTnqJRRh zGfbaeNIZpoNXm71CxHm6Q4O3Fx7ApGJhUUbgc0yvQetqqzZ0CrGrdOibMr9KFIId4IX WC0OCk53zbp57af7AL6/3MzpDPmz43AQLhGDjnFDsSL2FrqUQCtTICZLKbVILth5bBVd Q/Sc6a3Q/wVxS5GJwYfBLjaOpiG4mYB5MbKyrQ/+poNa8Sbpr4gIXb1rsiVHRhQC9/lU 8NEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=fuI254nT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=H4hUsGCD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id z13-20020a170903018d00b001cfd4eb4deasi11449269plg.357.2023.12.14.04.02.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 04:02:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=fuI254nT; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=H4hUsGCD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0D4E583EB31A; Thu, 14 Dec 2023 04:02:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1444208AbjLNMBm (ORCPT + 99 others); Thu, 14 Dec 2023 07:01:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444191AbjLNMBk (ORCPT ); Thu, 14 Dec 2023 07:01:40 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D7B4BD; Thu, 14 Dec 2023 04:01:45 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E6A1D5C01FA; Thu, 14 Dec 2023 07:01:44 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Thu, 14 Dec 2023 07:01:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1702555304; x=1702641704; bh=Baksf+ezVF lYZ2aIOXFNfU8ikmrbeyERoCYqa6/cW4Y=; b=fuI254nTWrgEL508ZUXSr5ts7/ kL5NSSYQ9JyWAcH/I0aVXU+xp7FkYXP3UpSL7twuKSg9dSynv2q9ATL6UwFiQntV FbjMNsWLD7EbXgwk9sK73Xev9A3NcxXYtKDIxHZ/txh1DZiFkqdYoXWYM0x0qmTx VJrZKtRpdftK/xUC9+DUCsVDcEXyPP7YxVl8JYE86kybQ/bVWjzbUvoST4/OeTMK dtIcHKbaotzXZ3hN9stNCbPuMbly5XG6BINTpdP1cqEY7GYer2pjiSReD4bIN7DN mVJkhwR7P9s/zWjn6jBiAKr9qikX1el6R4abP+xop0BK1YVsgTWELj5R45cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1702555304; x=1702641704; bh=Baksf+ezVFlYZ2aIOXFNfU8ikmrb eyERoCYqa6/cW4Y=; b=H4hUsGCD+UIpPhvTp6EDda5x184ckDpINaoPPwYhG6Bz pHrj1+s3zIJMTXmqdvx/JGqJ/hd2av7VtEQIPEm6WT++DwSy7BMNCiOWGoCPX8Pb eyu9Rr7n4WLnuV7XODR4sFJzUse0N2foWWq5LZoxh7urMYi/npT7AH8G5+sJG13H qKAxFJyp0e3UC1vTtvJBGJjF19LSovxJt+wS2iUU5KA/T1hxeOwqmcEQ9yws7UIT ekEE1qbPICwOFcUJV8dk/8cX6od0dkCsWEOWZbUXvuSkQBkbA5LHKmah+BXF8qxB 7X21c47xO5o4wBJptgZc80EB191pJPTwlEwQJS0KLw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelledgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 779C6B6008F; Thu, 14 Dec 2023 07:01:43 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1283-g327e3ec917-fm-20231207.002-g327e3ec9 MIME-Version: 1.0 Message-Id: <1938fcf1-eb5d-4723-a6c6-d2fe2c6dd1c0@app.fastmail.com> In-Reply-To: <20231214105243.3707730-6-tudor.ambarus@linaro.org> References: <20231214105243.3707730-1-tudor.ambarus@linaro.org> <20231214105243.3707730-6-tudor.ambarus@linaro.org> Date: Thu, 14 Dec 2023 13:01:21 +0100 From: "Arnd Bergmann" To: "Tudor Ambarus" , "Peter Griffin" , "Rob Herring" , krzysztof.kozlowski+dt@linaro.org, "Michael Turquette" , "Stephen Boyd" , "Conor Dooley" , andi.shyti@kernel.org, "Alim Akhtar" , "Greg Kroah-Hartman" , "Jiri Slaby" , "Catalin Marinas" , "Will Deacon" , "Sylwester Nawrocki" , "Tomasz Figa" , "Chanwoo Choi" , "Sam Protsenko" Cc: =?UTF-8?Q?Andr=C3=A9_Draszik?= , saravanak@google.com, "William McVicker" , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 05/13] tty: serial: samsung: add gs101 earlycon support Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 14 Dec 2023 04:02:01 -0800 (PST) On Thu, Dec 14, 2023, at 11:52, Tudor Ambarus wrote: > +static int __init gs101_early_console_setup(struct earlycon_device *device, > + const char *opt) > +{ > + /* gs101 always expects MMIO32 register accesses. */ > + device->port.iotype = UPIO_MEM32; > + > + return s5pv210_early_console_setup(device, opt); > +} > + > +OF_EARLYCON_DECLARE(gs101, "google,gs101-uart", gs101_early_console_setup); It looks like this is already done by of_setup_earlycon() based on the reg-io-width property. Any idea why it doesn't work with the normal s5pv210_early_console_setup() function? Arnd