From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D12C7C433F5 for ; Wed, 8 Sep 2021 11:29:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A56CC603E9 for ; Wed, 8 Sep 2021 11:29:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org A56CC603E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZV4Mb4QR15V4VW+An2IsBNRZNTupBj13PjRDO0dMGCs=; b=zZubLp+u3/rw60 lR72kwUDWl9WkQJ3xSvCit9+aoGDVYHNdGciKhTnELIyeUJxAyr0+7he6Sn05KNY5kZxyNQ4J4/0B NyAEghnvdAjbZ75V9L8DMIok8+dKAAUtGcHLutRIZyN0X2uvkXs+DyQN/iTGGVN/2LyWznuhWqmGh 0FkrVMl6Rzjl0qXrHSwsnm8uzNM/6L9zxKzpFM6Az6GtETyY1Vh4xbdgDmPYcQfvjRPiGkjTwPX4L 0Vnh5XqBUQaDyManzqbrjNexm5nPKR34niEqVcuW9bQyjWbvL9Jkt2ZVtWFD1ez5CrpIG2UIRBTPJ Tnhle/UmmhOYQ1i4yirA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNvjb-006Xgf-74; Wed, 08 Sep 2021 11:27:19 +0000 Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNvjX-006Xfj-3g for linux-arm-kernel@lists.infradead.org; Wed, 08 Sep 2021 11:27:16 +0000 Received: by mail-lj1-x22c.google.com with SMTP id h1so2877210ljl.9 for ; Wed, 08 Sep 2021 04:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zArPnbgBGxH5qbqpeK2J30GwRdILfZEvn45KQmNxalo=; b=UMfQnx4bcQZd5SvTOkMpm6L/1WKlh7Eork9Id05e5fk/8402XhpLqn/zQMTVXqAB6I HkFbGZwgYdA6BQ/mbAhqEe/4NOEe7e++lsWUE2NQpo3+zwvSSHmXvScg865STNrCrp+G zvpXoSMGxXiB9sjQXVL//9Xvunon1w700gEDOaO9YUOsYeP2t7+simHTn2emLSnfDlJu W8yPjGOIVO4hAIUbTfaDgjPgzJaVIlPVGp94GGVLeMoxPL+JgcpZwL52x8r9lBfixozQ FiZVcPHKK2D9tynhO3/izirk4gJ+wOQXeKSkw9KD2kRE5asdq4VFLI4eETuAAGxEzmFU cwDQ== 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=zArPnbgBGxH5qbqpeK2J30GwRdILfZEvn45KQmNxalo=; b=fS0oxng3YN864jGtPk+1pHBDn5CNXH8cCMv74BwKMQPrHRWUei4nOAwHQUxn+OUmZp 2oyaG04+7hBrrsBiWAfqz8VU4NjRRlUPvB45/uSU/tXay5dVhJv72OKyzt/0OotHDKuH xWKq8SXEKG9l/lCaUW15BoIogRVbKQo7Rg28qW9ztTVpZpyoktV5dK1EjuQnEpUQbnZo rTXB7xQZ+A6m6YpU2IBtuj7S5bjVxL7fFSdGJhELR4Sy7mptbn3pxdrvm+DqoZO+5bWO D+zztUZFWhh0zWUUCQwY3Zm1SC/nt3a842/l7uXgq2UB1cd8/zURO0XNMC7nBeI/HfgM 8ekQ== X-Gm-Message-State: AOAM530XubAunccMzxtvnWRtQyr8uYPW+iwobt+nSun3yMCiejLnSYan 6lg8uDSFqZ/RIG7CCNhreEE= X-Google-Smtp-Source: ABdhPJy8Hv43+g0NY1Pmxc4LeynlznWNToK9X9xFqmpQtYjskjVO7X1CS7pVbBBfoRlxdo+/v3iHfA== X-Received: by 2002:a05:651c:154b:: with SMTP id y11mr2243226ljp.480.1631100430110; Wed, 08 Sep 2021 04:27:10 -0700 (PDT) Received: from home.paul.comp (paulfertser.info. [2001:470:26:54b:226:9eff:fe70:80c2]) by smtp.gmail.com with ESMTPSA id a23sm204070ljb.95.2021.09.08.04.27.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 04:27:09 -0700 (PDT) Received: from home.paul.comp (home.paul.comp [IPv6:0:0:0:0:0:0:0:1]) by home.paul.comp (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTP id 188BR67i015807; Wed, 8 Sep 2021 14:27:07 +0300 Received: (from paul@localhost) by home.paul.comp (8.15.2/8.15.2/Submit) id 188BR4Rh015806; Wed, 8 Sep 2021 14:27:04 +0300 Date: Wed, 8 Sep 2021 14:27:04 +0300 From: Paul Fertser To: ChiaWei Wang Cc: "robh+dt@kernel.org" , "joel@jms.id.au" , "andrew@aj.id.au" , "lee.jones@linaro.org" , "osk@google.com" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "openbmc@lists.ozlabs.org" , Konstantin Klubnichkin Subject: Re: VUART compatibility (was: Re: [PATCH v2 0/3] arm: aspeed: Add UART routing support) Message-ID: <20210908112703.GC23326@home.paul.comp> References: <20210902021817.17506-1-chiawei_wang@aspeedtech.com> <20210908094248.GZ23326@home.paul.comp> <20210908105245.GB23326@home.paul.comp> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210908105245.GB23326@home.paul.comp> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210908_042715_201745_34379681 X-CRM114-Status: GOOD ( 12.03 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Sep 08, 2021 at 01:52:45PM +0300, Paul Fertser wrote: > In this case do we have some way to make it an obvious error to enable > both SUART1 and VUART in DTS? If they're conflicting surely there > should be a way to express that? I have to add this idea is obviously silly as we have sysfs nodes to specify both LPC I/O address and interrupt number for VUART and arbitrary numbers are allowed (so it can conflict with any of the SUART port) so there should be probably some runtime checking in VUART driver to prevent that? -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercerpav@gmail.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel